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

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x2298
call fcn.00593af0
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x2298]
mov ecx, dword [esp + 0x22b4]
mov dword [esp + 0x7c], eax
mov eax, dword [edx + 0x28]
mov edx, dword [esp + 0x22b0]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 0x18]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x492c2e
mov ebx, dword [esp + 0x78]
xor ebp, ebp
mov eax, dword [ebx + 0x10]
test eax, eax
jle 0x4928a2
mov edx, dword [ebx + 0x1c]
mov dword [edx + ebp*4], 0
mov esi, dword [esp + 0x78]
inc ebp
cmp dword [esi + 0x10], ebp
jg 0x492891
mov eax, dword [esp + 0x78]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x64], ebx
mov esi, 1
xor ebp, ebp
mov dword [esp + 0x6c], edi
mov ebx, dword [eax + 8]
mov dword [esp + 0x68], esi
cmp ebx, 0
jle 0x492c7a
mov edx, dword [esp + 0x22b0]
mov edx, dword [edx]
mov dword [esp + 0x4c], edx
mov esi, dword [esp + 0x4c]
mov eax, ebp
mov ecx, ebp
shr eax, 5
and ecx, 0x1f
mov eax, dword [esi + eax*4]
shr eax, cl
test al, 1
je 0x492981
mov eax, dword [esp + 0x74]
mov esi, dword [eax + 0x1c]
mov eax, dword [esi + ebp*4]
lea edi, [eax + 8]
movzx eax, word [eax + 8]
cmp ax, 0xffff
jne 0x49291c
jmp 0x492981
add edi, 8
movzx eax, word [edi]
cmp ax, 0xffff
je 0x49297a
cwde
cmp eax, dword [esp + 0x22b4]
jne 0x492910
mov ebx, dword [esp + 0x78]
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x1c]
mov edx, ecx
mov ebx, 1
and ecx, 0x1f
shr edx, 5
shl ebx, cl
mov ecx, 1
or dword [eax + edx*4], ebx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x64], ecx
mov eax, dword [edi + 4]
cmp eax, dword [edx + 0x10]
je 0x492c39
mov eax, dword [esi + eax*4]
cmp word [eax], 0
setne al
movzx eax, al
neg eax
add edi, 8
and dword [esp + 0x68], eax
movzx eax, word [edi]
cmp ax, 0xffff
jne 0x49291c
mov ecx, dword [esp + 0x78]
mov ebx, dword [ecx + 8]
inc ebp
cmp ebx, ebp
jg 0x4928d6
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x492c7a
mov esi, dword [esp + 0x74]
mov eax, dword [esi + 8]
and eax, 1
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x60]
xor esi, esi
mov dword [esp + 0x5c], esi
test ecx, ecx
je 0x492b7c
xor edx, edx
xor ebp, ebp
cmp ebx, 0
mov dword [esp + 0x60], edx
jle 0x492b7c
mov esi, esi
lea edi, [edi]
mov ecx, dword [esp + 0x78]
mov edx, ebp
shr edx, 5
mov eax, dword [ecx + 0x1c]
mov ecx, ebp
and ecx, 0x1f
mov eax, dword [eax + edx*4]
shr eax, cl
test al, 1
je 0x492b67
mov esi, dword [esp + 0x74]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + ebp*4]
lea edi, [eax + 8]
movzx eax, word [eax + 8]
cmp ax, 0xffff
jne 0x492a20
jmp 0x492b67
add edi, 8
movzx eax, word [edi]
cmp ax, 0xffff
je 0x492b60
movsx esi, ax
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 4]
cmp esi, ebx
jle 0x492a10
mov eax, 1
mov ecx, dword [edi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x78]
mov edx, ecx
shr edx, 5
and ecx, 0x1f
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + edx*4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], edx
shr edx, cl
test dl, 1
jne 0x492a10
mov edx, esi
sub edx, ebx
mov ebx, dword [esp + 0x7c]
mov eax, edx
shl eax, 4
mov ecx, dword [ebx + 4]
add eax, edx
mov edx, dword [ecx + 0x920]
add ecx, 0x3c
mov dword [esp], ecx
lea eax, [edx + eax*4]
mov edx, eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x80]
add edx, 0x1c
mov dword [esp + 4], eax
mov eax, ebx
call fcn.004921e0
test eax, eax
mov ebx, eax
je 0x492c47
mov edx, dword [esp + 0x7c]
xor eax, eax
mov ecx, dword [esp + 0x22b8]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x1c]
mov edx, ebx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
call fcn.00493020
mov esi, eax
mov eax, ebx
call fcn.00492150
mov ebx, dword [esp + 0x58]
mov eax, dword [ebx + 4]
test eax, eax
je 0x492c62
test esi, esi
setne al
movzx eax, al
test eax, eax
je 0x492a10
mov esi, dword [esp + 0x78]
mov eax, 1
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x1c]
mov ebx, ecx
and ecx, 0x1f
shl eax, cl
shr ebx, 5
or dword [edx + ebx*4], eax
mov eax, 1
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
mov edx, dword [edi + 4]
cmp edx, dword [eax + 0x10]
je 0x492c6c
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + edx*4]
cmp word [eax], 0
setne al
movzx eax, al
neg eax
add edi, 8
and dword [esp + 0x68], eax
movzx eax, word [edi]
cmp ax, 0xffff
jne 0x492a20
lea esi, [esi]
lea edi, [edi]
mov esi, dword [esp + 0x78]
mov ebx, dword [esi + 8]
inc ebp
cmp ebx, ebp
jg 0x4929d0
mov ecx, dword [esp + 0x60]
test ecx, ecx
jne 0x4929b6
mov ebp, dword [esp + 0x64]
xor eax, eax
test ebp, ebp
je 0x492c2e
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x10]
cmp edx, 1
jne 0x492c85
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x70], eax
mov esi, dword [esp + 0x78]
mov ebp, dword [esi + 4]
mov ebx, dword [esi + 0x14]
test ebp, ebp
jle 0x492be3
cld
jmp 0x492bbc
dec ebp
add ebx, 0x20
test ebp, ebp
jle 0x492be3
mov eax, dword [esp + 0x70]
cmp dword [ebx + 4], eax
jne 0x492bb4
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x10]
cmp eax, 1
je 0x492be3
mov esi, dword [edx + 0x1c]
lea ecx, [eax*4]
mov edi, dword [ebx]
cmp ecx, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x492bb4
test ebp, ebp
je 0x492c96
mov edx, dword [esp + 0x5c]
test edx, edx
jne 0x492c2c
mov ecx, dword [esp + 0x22b0]
mov esi, dword [esp + 0x22b4]
mov eax, dword [ecx + 0x18]
mov dword [eax + esi*4], ebx
mov eax, dword [esp + 0x22b0]
mov edx, dword [ebx + 0x10]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebx + 0xc]
mov dword [ecx + esi*8 + 4], edx
mov dword [ecx + esi*8], eax
mov edx, dword [esp + 0x22b0]
mov word [ebx + 0x10], si
mov dword [ebx + 0xc], edx
mov eax, ebx
add esp, 0x229c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 1
mov dword [esp + 0x6c], edx
jmp 0x49295b
mov esi, dword [esp + 0x7c]
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x492a10
mov dword [esi + 0x20], 0xc
jmp 0x492a10
test esi, esi
sete al
jmp 0x492ae8
mov eax, 1
mov dword [esp + 0x6c], eax
jmp 0x492b28
xor edi, edi
mov dword [esp + 0x60], edi
jmp 0x4929a4
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0x1c]
call fcn.00492460
jmp 0x492b9f
mov eax, dword [esp + 0x22bc]
mov ecx, dword [esp + 0x22b8]
mov edx, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], ecx
call fcn.00492480
mov esi, dword [esp + 0x78]
mov ebx, eax
mov edi, dword [esi + 0x10]
test edi, edi
jle 0x492cda
mov edx, dword [esi + 0x1c]
mov ecx, dword [eax]
mov eax, dword [edx + ebp*4]
mov dword [ecx + ebp*4], eax
mov eax, dword [esp + 0x78]
inc ebp
cmp dword [eax + 0x10], ebp
jg 0x492cca
cmp dword [esp + 0x6c], 1
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
sbb eax, eax
not eax
and eax, 2
mov dword [ebx + 4], edx
test ecx, ecx
je 0x492cf8
or eax, 8
mov dword [ebx + 8], eax
jmp 0x492beb