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

Disassembly:
sub esp, 0x60
push ebx
push ebp
mov ebp, ecx
xor ecx, ecx
lea eax, [ebp + 0xa0]
push esi
lea ebx, [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov esi, dword [ebx + 0x74]
push edi
mov edi, dword [ebx + 0x70]
mov dword [esp + 0x10], edx
mov edx, edi
and edx, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ecx
cmp edx, 0xffffffff
je 0x49cbba
mov edx, dword [ebx + 0x88]
and edx, dword [ebx + 0x8c]
cmp edx, 0xffffffff
je 0x49cbba
mov ecx, dword [ebx + 0x8c]
mov eax, dword [ebx + 0x88]
push esi
push edi
push ecx
push eax
call fcn.004a0320
push edx
push eax
push esi
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
call fcn.004a0490
cmp eax, dword [ebx + 0x88]
jne 0x49ca4f
cmp edx, dword [ebx + 0x8c]
je 0x49ca59
add dword [esp + 0x2c], 1
adc dword [esp + 0x30], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp]
push ecx
mov edx, edi
mov ecx, esi
shrd edx, ecx, 0xa
shr ecx, 0xa
add edx, edi
adc ecx, esi
add edx, 0x450
adc ecx, 0
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x3c]
push esi
push edi
push edx
push ecx
call fcn.0049b980
xor edi, edi
cmp eax, edi
jne 0x49cc35
movzx eax, word [ebx + 0x68]
mov edx, dword [0x4b2470]
mov cx, word [0x4b2474]
mov dword [esp + 0x34], edx
mov edx, eax
shr edx, 8
mov word [esp + 0x38], cx
mov byte [esp + 0x3a], dl
lea edx, [edi + 2]
lea ecx, [esp + 0x3a]
mov byte [esp + 0x3b], al
call fcn.0049e790
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
push 0xc
lea edx, [esp + 0x38]
call eax
sub eax, 0xc
neg eax
sbb eax, eax
and eax, 9
jne 0x49cc35
mov eax, 1
cmp dword [ebx + 0x78], eax
jle 0x49cc4e
cmp dword [ebp + 0xeec], edi
jne 0x49cb12
lea ecx, [ebp + 0xef0]
mov dword [ebp + 0xeec], eax
call fcn.00493150
mov ecx, dword [ebx + 0x68]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 4]
mov dword [ebp + 0xee4], ecx
mov ecx, 0x24
mov esi, ebx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
mov dword [ebp + 0xee8], edx
mov edx, dword [esp + 0x74]
mov dword [ebp + 0xf10], eax
mov dword [ebp + 0xf00], edx
xor edx, edx
lea eax, [esp + 0x2c]
mov dword [ebp + 0xf0c], ecx
mov dword [ebp + 0xf04], edx
mov dword [ebp + 0xf08], edx
mov dword [ebp + 0xf14], eax
mov dword [ebp + 0xf18], ebp
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
mov esi, eax
and esi, ecx
mov dword [esp + 0x2c], 0x49c830
mov dword [esp + 0x30], 0x49c940
cmp esi, 0xffffffff
je 0x49cc3f
or eax, ecx
je 0x49cc3f
mov eax, dword [ebx + 0x70]
mov dword [ebp + 0xef0], eax
xor ecx, ecx
cmp eax, dword [ebx + 0x70]
jne 0x49cbab
cmp ecx, dword [ebx + 0x74]
je 0x49cbc6
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x60
ret 8
xor edi, edi
mov esi, 0x40000000
jmp 0x49ca5d
mov ecx, eax
shr ecx, 0xa
lea ecx, [ecx + eax + 0x450]
mov dword [esp + 0x78], ecx
cmp ecx, eax
jb 0x49cbab
cmp dword [ebp + 0xdb0], ecx
je 0x49cbed
mov edi, ebp
call fcn.0049c620
mov ecx, dword [esp + 0x78]
mov eax, dword [ebp + 0x98]
mov dword [ebp + 0xdb0], ecx
mov edx, dword [ebx + 0x7c]
mov ecx, dword [ebp + 0x9c]
mov dword [ebp + 0xefc], ecx
lea ecx, [ebp + 0xef0]
mov dword [ebp + 0xef4], edx
mov dword [ebp + 0xef8], eax
call fcn.004932e0
test eax, eax
jne 0x49cc35
movzx eax, word [ebx + 0x68]
mov edi, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
call fcn.0049bab0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x60
ret 8
mov esi, dword [esp + 0x78]
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x78], edi
mov edi, dword [ebx + 0x70]
mov edx, edi
and edx, eax
mov dword [esp + 0x40], 0x49c590
mov dword [esp + 0x44], esi
cmp edx, 0xffffffff
je 0x49cd3f
xor ecx, ecx
cmp dword [ebx + 0x84], ecx
setg cl
mov dword [esp + 0x78], ecx
test ecx, ecx
je 0x49cd3f
mov ecx, edi
xor edx, edx
cmp ecx, ecx
jne 0x49cbab
cmp edx, eax
jne 0x49cbab
mov edx, ecx
shr edx, 0xa
lea ecx, [ecx + edx + 0x50]
xor edx, edx
mov dword [esp + 0x18], ecx
cmp edx, eax
ja 0x49ccd9
jb 0x49cbab
cmp ecx, edi
jb 0x49cbab
lea eax, [ecx + 0x400]
cmp dword [ebp + 0xdb4], edx
je 0x49ccef
cmp eax, dword [ebp + 0xdb0]
je 0x49cd2c
mov edi, ebp
call fcn.0049c620
mov edi, dword [esp + 0x18]
mov ecx, dword [ebp]
mov eax, dword [ecx]
add edi, 0x400
mov edx, edi
call eax
mov dword [ebp + 0xdb4], eax
test eax, eax
jne 0x49cd22
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x60
ret 8
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0xdb0], edi
mov eax, dword [ebp + 0xdb4]
add eax, 0x400
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x78]
neg esi
sbb esi, esi
lea ecx, [esp + 0x40]
and esi, ecx
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], eax
nop
cmp dword [esp + 0x78], 0
mov dword [esp + 0x68], 0
je 0x49cd77
mov ecx, dword [ebp + 0xdb4]
jmp 0x49cd79
xor ecx, ecx
mov edx, dword [ebp + 4]
push edx
mov edx, dword [ebp]
push edx
lea edx, [esp + 0x60]
push edx
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x88]
push ebx
push 0
push 0
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push edx
push ecx
push eax
lea eax, [ebp + 0xb0]
push eax
call fcn.0049c160
test eax, eax
jne 0x49cc35
mov eax, dword [esp + 0x60]
mov esi, eax
neg esi
and esi, 3
xor edi, edi
add esi, eax
adc edi, dword [esp + 0x64]
cmp dword [esp + 0x78], 0
mov dword [esp + 0x38], edi
je 0x49ce25
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x68]
mov edx, dword [ebp + 0xdb4]
mov eax, dword [ecx]
push ebx
call eax
sub eax, ebx
neg eax
sbb eax, eax
and eax, 9
jne 0x49cc35
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edi, esi
sub edi, ebx
push edi
call eax
sub eax, edi
neg eax
sbb eax, eax
and eax, 9
jne 0x49cc35
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov ebx, dword [ebp]
push ecx
push eax
mov eax, dword [esp + 0x60]
push edx
push eax
mov eax, dword [esp + 0x24]
call fcn.0049ba20
test eax, eax
jne 0x49cc35
mov ecx, dword [esp + 0x58]
add dword [esp + 0x48], ecx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x20]
adc dword [esp + 0x4c], edx
add dword [esp + 0x50], esi
adc dword [esp + 0x54], edi
cmp dword [esp + 0x28], eax
jne 0x49cc23
mov eax, dword [esp + 0x2c]
jmp 0x49cd60