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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.0050c0c0
lea eax, [esp + 0x20]
push 4
push eax
call fcn.00484f10
lea ecx, [esp + 0x2c]
push 4
push ecx
call fcn.00484f10
lea edx, [esp + 0x24]
push 4
push edx
call fcn.00484f10
lea eax, [esp + 0x30]
push 4
push eax
call fcn.00484f10
add esp, 0x20
lea ecx, [esp + 0x2c]
call fcn.004c40e0
xor edi, edi
push edi
push edi
lea ecx, [esp + 0x34]
call fcn.004f47c0
mov ebx, dword [ebp + 8]
push eax
push ebx
call dword [0x100ccd64]
test al, al
je 0x49d90c
lea ecx, [esp + 0x44]
call fcn.004c07b0
lea ecx, [esp + 0x10]
push 4
push ecx
call fcn.00484f10
add esp, 8
lea ecx, [esp + 0x44]
call fcn.004f26e0
mov edx, dword [esi + 0x48]
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
call fcn.004c4080
mov ebx, dword [esi + 0x48]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x30]
call fcn.004c4450
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push ecx
push edi
push 0x40
push edx
push eax
lea ecx, [esp + 0xb4]
call fcn.004c4180
mov ecx, eax
call fcn.004f47c0
push eax
push edi
lea ecx, [esp + 0xc4]
call fcn.004c4110
mov ecx, eax
call fcn.004f47c0
push eax
push ebx
mov ecx, esi
call fcn.0049a9b0
test eax, eax
je 0x49d9d9
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x48]
call fcn.004c4020
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x49d6f8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x10], edi
mov eax, dword [ebx]
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x49d70a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x78]
cmp eax, edi
je 0x49d71e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], edi
lea ecx, [esp + 0x34]
call fcn.004c40b0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x74]
push edx
call eax
xor ebx, ebx
cmp dword [eax], edi
mov eax, dword [esp + 0x74]
sete bl
cmp eax, edi
je 0x49d752
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x74], edi
cmp ebx, edi
je 0x49dc3f
lea ecx, [esp + 0x88]
call fcn.004b1880
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x88]
push eax
call fcn.004b1770
test eax, eax
je 0x49dbea
lea ecx, [esp + 0x8c]
push ecx
call fcn.004b1f90
add esp, 4
test eax, eax
je 0x49da37
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
mov edx, dword [edx + 0xac]
push 2
lea eax, [esp + 0x90]
push eax
push eax
lea eax, [esp + 0x34]
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0048fef0
mov edx, dword [esi + 0x48]
push edx
lea ecx, [esp + 0x44]
call fcn.004c4080
mov ebx, dword [esi + 0x48]
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x30]
call fcn.004c4450
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push ecx
push edi
push 0x40
push edx
push eax
lea ecx, [esp + 0x90]
call fcn.004c4180
mov ecx, eax
call fcn.004f47c0
push eax
push edi
lea ecx, [esp + 0xc4]
call fcn.004c4110
mov ecx, eax
call fcn.004f47c0
push eax
push ebx
mov ecx, esi
call fcn.0049a9b0
test eax, eax
je 0x49da8c
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x48]
call fcn.004c4020
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0x10]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x38], eax
call edx
mov ecx, dword [esp + 0x38]
cmp ecx, eax
je 0x49dafe
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x49d87a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x40]
call fcn.004c40b0
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x49d897
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x49d8ab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x49d8bf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x49d8d3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x44]
call fcn.004c4440
lea ecx, [esp + 0x2c]
call fcn.004c4100
lea ecx, [esp + 0x2c]
call fcn.004c40e0
push edi
push edi
lea ecx, [esp + 0x34]
call fcn.004f47c0
mov ebx, dword [ebp + 8]
push eax
push ebx
call dword [0x100ccd64]
test al, al
jne 0x49d646
cmp dword [0x100ccb64], edi
je 0x49d961
push 0x100b0e60
push 0x100bc790
push ebx
push 0x100bc750
push 0x100bc710
lea ecx, [esp + 0x90]
call fcn.00480470
mov ecx, eax
call fcn.0047f3c0
mov ecx, eax
call fcn.0047f3c0
mov ecx, eax
call fcn.0047f3e0
mov ecx, eax
call fcn.0047f3c0
mov ecx, eax
call fcn.0047f3c0
lea ecx, [esp + 0x7c]
call fcn.0047f280
push 0x7b
lea ecx, [esp + 0x20]
call fcn.0050c0e0
lea ecx, [esp + 0x2c]
call fcn.004c4100
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x49d989
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x49d99d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x49d9b1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x49d9c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x1c]
call fcn.0050c0f0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x7b
lea ecx, [esp + 0x20]
call fcn.0050c0e0
lea ecx, [esp + 0x34]
call fcn.004c40b0
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x49da01
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x49da15
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x49da29
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x44]
call fcn.004c4440
jmp 0x49d96c
push 3
lea ecx, [esp + 0x20]
call fcn.0050c0e0
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x49da56
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x49da6a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x49da7e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x44]
call fcn.004c4440
jmp 0x49d96c
push 0x7b
lea ecx, [esp + 0x20]
call fcn.0050c0e0
lea ecx, [esp + 0x40]
call fcn.004c40b0
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x49dab4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x49dac8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x49dadc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x49daf0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x44]
call fcn.004c4440
jmp 0x49d96c
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x49db12
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x48]
push edx
call eax
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x49db26
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x40]
call fcn.004c40b0
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x49db43
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x49db57
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x49db6b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x49db7f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x44]
call fcn.004c4440
lea ecx, [esp + 0x2c]
call fcn.004c4100
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x49dba5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x49dbb9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x49dbcd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x49dd2c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], edi
jmp 0x49dd2c
push 0x7b
lea ecx, [esp + 0x20]
call fcn.0050c0e0
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x49dc09
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x49dc1d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x49dc31
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x44]
call fcn.004c4440
jmp 0x49d96c
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
test eax, eax
jne 0x49dc8a
mov edi, edi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x38]
push edx
call eax
push eax
lea ecx, [esp + 0x14]
call fcn.0048ff90
lea ecx, [esp + 0x38]
call fcn.004ba940
mov ecx, dword [esp + 0x10]
cmp ecx, edi
je 0x49dd43
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
test eax, eax
je 0x49dc50
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
call fcn.0048fe90
mov eax, dword [ebp + 0xc]
cmp eax, edi
mov ebx, dword [esp + 0x34]
je 0x49dcb2
mov edx, dword [ebx]
mov eax, dword [eax]
mov edx, dword [edx + 0x88]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x49dcc6
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x94]
mov ecx, ebx
call eax
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x49dced
mov esi, dword [ebx]
push eax
lea ecx, [esp + 0x80]
add esi, 0x78
call fcn.004c4160
mov ecx, eax
call fcn.004f47c0
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
lea ecx, [esp + 0x34]
call fcn.004ba940
lea ecx, [esp + 0x10]
call fcn.004ba940
lea ecx, [esp + 0x44]
call fcn.00490b40
lea ecx, [esp + 0x2c]
call fcn.004c4100
lea ecx, [esp + 0x14]
call fcn.004c55c0
lea ecx, [esp + 0x24]
call fcn.004ba940
lea ecx, [esp + 0x20]
call fcn.004ba940
lea ecx, [esp + 0x1c]
call fcn.0050c0f0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 3
lea ecx, [esp + 0x20]
call fcn.0050c0e0
lea ecx, [esp + 0x10]
call fcn.004ba940
lea ecx, [esp + 0x44]
call fcn.00490b40
lea ecx, [esp + 0x2c]
call fcn.004c4100
lea ecx, [esp + 0x14]
call fcn.004c55c0
lea ecx, [esp + 0x24]
call fcn.004ba940
lea ecx, [esp + 0x20]
call fcn.004ba940
lea ecx, [esp + 0x1c]
call fcn.0050c0f0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10