Function at 0x492140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
mov eax, dword [0x517b6c]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
movzx edx, word [0x4ec134]
mov word [esp + 0x28], dx
movzx edx, byte [0x4ec136]
mov byte [esp + 0x2a], dl
movzx edx, word [0x4ec138]
mov word [esp + 0x2b], dx
movzx edx, byte [0x4ec13a]
mov byte [esp + 0x2d], dl
movzx edx, word [0x4ec13c]
mov word [esp + 0x2e], dx
movzx edx, byte [0x4ec13e]
mov byte [esp + 0x30], dl
movzx edx, word [0x4ec140]
mov word [esp + 0x31], dx
movzx edx, byte [0x4ec142]
mov byte [esp + 0x33], dl
movzx edx, word [0x4ec144]
mov word [esp + 0x34], dx
movzx edx, byte [0x4ec146]
mov byte [esp + 0x36], dl
movzx edx, word [0x4ec148]
mov word [esp + 0x37], dx
movzx edx, byte [0x4ec14a]
mov byte [esp + 0x39], dl
movzx edx, word [0x4ec14c]
mov word [esp + 0x3a], dx
movzx edx, byte [0x4ec14e]
mov byte [esp + 0x3c], dl
movzx edx, word [0x4ec150]
mov word [esp + 0x3d], dx
movzx edx, byte [0x4ec152]
mov byte [esp + 0x3f], dl
movzx edx, word [0x4ec154]
mov word [esp + 0x40], dx
movzx edx, byte [0x4ec156]
mov byte [esp + 0x42], dl
movzx edx, word [0x4ec158]
mov word [esp + 0x43], dx
movzx edx, byte [0x4ec15a]
mov byte [esp + 0x45], dl
movzx edx, word [0x4ec15c]
mov word [esp + 0x46], dx
movzx edx, byte [0x4ec15e]
mov byte [esp + 0x48], dl
movzx edx, word [0x4ec160]
mov word [esp + 0x49], dx
movzx edx, byte [0x4ec162]
mov byte [esp + 0x4b], dl
movzx edx, word [0x4ec164]
mov word [esp + 0x4c], dx
movzx edx, byte [0x4ec166]
mov byte [esp + 0x4e], dl
movzx edx, word [0x4ec168]
mov word [esp + 0x4f], dx
movzx edx, byte [0x4ec16a]
mov byte [esp + 0x51], dl
movzx edx, word [0x4ec16c]
mov eax, dword [esp + 0x94]
mov word [esp + 0x52], dx
movzx edx, byte [0x4ec16e]
mov byte [esp + 0x54], dl
movzx edx, word [0x4ec170]
mov word [esp + 0x55], dx
movzx edx, byte [0x4ec172]
mov byte [esp + 0x57], dl
movzx edx, word [0x4ec174]
mov word [esp + 0x58], dx
movzx edx, byte [0x4ec176]
mov byte [esp + 0x5a], dl
movzx edx, word [0x4ec178]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x98]
mov word [esp + 0x5b], dx
movzx edx, byte [0x4ec17a]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
xor ebp, ebp
mov byte [esp + 0x5d], dl
movzx edx, word [0x4ec17c]
mov word [esp + 0x5e], dx
movzx edx, byte [0x4ec17e]
mov byte [esp + 0x60], dl
movzx edx, word [0x4ec180]
mov word [esp + 0x61], dx
movzx edx, byte [0x4ec182]
mov byte [esp + 0x63], dl
movzx edx, word [0x4ec184]
mov word [esp + 0x64], dx
movzx edx, byte [0x4ec186]
mov byte [esp + 0x66], dl
movzx edx, word [0x4ec188]
mov word [esp + 0x67], dx
movzx edx, byte [0x4ec18a]
mov byte [esp + 0x69], dl
movzx edx, word [0x4ec18c]
mov word [esp + 0x6a], dx
movzx edx, byte [0x4ec18e]
mov byte [esp + 0x6c], dl
movzx edx, word [0x4ec190]
mov word [esp + 0x6d], dx
movzx edx, byte [0x4ec192]
mov byte [esp + 0x6f], dl
movzx edx, word [0x4ec194]
mov word [esp + 0x70], dx
movzx edx, byte [0x4ec196]
mov byte [esp + 0x72], dl
movzx edx, word [0x4ec198]
mov word [esp + 0x73], dx
movzx edx, byte [0x4ec19a]
mov byte [esp + 0x75], dl
movzx edx, word [0x4ec19c]
mov word [esp + 0x76], dx
movzx edx, byte [0x4ec19e]
mov byte [esp + 0x78], dl
movzx edx, word [0x4ec1a0]
mov word [esp + 0x79], dx
movzx edx, byte [0x4ec1a2]
mov byte [esp + 0x7b], dl
movzx edx, word [0x4ec1a4]
mov word [esp + 0x7c], dx
movzx edx, byte [0x4ec1a6]
mov byte [esp + 0x7e], dl
movzx edx, word [0x4ec1a8]
mov word [esp + 0x7f], dx
movzx edx, byte [0x4ec1aa]
mov byte [esp + 0x81], dl
movzx edx, word [0x4ec1ac]
mov word [esp + 0x82], dx
movzx edx, byte [0x4ec1ae]
mov byte [esp + 0x84], dl
movzx edx, word [0x4ec1b0]
mov word [esp + 0x85], dx
movzx edx, byte [0x4ec1b2]
mov byte [esp + 0x87], dl
movzx edx, word [0x4ec1b4]
mov word [esp + 0x88], dx
movzx edx, byte [0x4ec1b6]
mov dword [eax], ebp
mov byte [esp + 0x8a], dl
mov dword [ecx], ebp
xor eax, eax
mov word [esp + 0x10], ax
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + ebp]
lea edi, [eax + ebp]
mov byte [esp + 0x24], cl
mov edx, dword [esp + 0x24]
push edx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 1
push esi
lea eax, [esp + 0x14]
push edi
push eax
call fcn.004b0200
add esp, 0xc
add ebp, esi
lea edi, [esp + 0x28]
mov dword [esp + 0x14], 0x21
nop
push edi
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4924ef
mov eax, dword [esp + 0x18]
add dword [eax], 1
mov eax, dword [esp + 0x20]
add dword [eax], esi
mov bl, 1
add edi, 3
sub dword [esp + 0x14], 1
jne 0x4924d0
test bl, bl
jne 0x492481
mov edx, dword [esp + 0x18]
cmp dword [edx], 0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
setg al
pop ebx
xor ecx, esp
call fcn.004acfa0
add esp, 0x80
ret 8