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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1dc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 0x19c]
call fcn.004a3bd0
test eax, eax
jne 0x49c587
mov ecx, dword [ebp + 0x34]
mov dword [ecx], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
lea edx, [ebp + 0xc]
lea esi, [ebx + 0xc4]
push edx
mov eax, esi
call fcn.004f9350
test eax, eax
je 0x49c5e4
cmp dword [0x100ef594], 0
je 0x49c5c9
lea esi, [esp + 0x19c]
call fcn.00537210
push 0x100d1cc8
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x19c]
call fcn.00537250
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x30]
mov dword [eax], 0
mov dword [ecx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
xor edi, edi
cmp dword [ebp + 0x14], edi
je 0x49c621
lea edx, [ebp + 0xc]
push edx
lea eax, [ebx + 0x24]
call fcn.004a2520
test eax, eax
jne 0x49c60a
lea eax, [ebp + 0xc]
push eax
mov eax, ebx
call fcn.004a2520
test eax, eax
je 0x49c621
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x30]
mov dword [ecx], edi
mov dword [edx], 0xc000000d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
push 4
lea eax, [esp + 0x10]
push eax
call dword [0x100ef7e8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [ebp + 0xc]
lea eax, [ebx + 0x178]
push edx
mov dword [esp + 0x7c], eax
call fcn.004a3490
test eax, eax
jne 0x49d021
push 4
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x3c], edi
mov word [esp + 0x38], di
mov word [esp + 0x3a], di
call dword [0x100ef7e8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
mov eax, esi
call fcn.004a2ca0
test eax, eax
je 0x49c9a5
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 2
je 0x49c6c3
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x30]
mov dword [eax], edi
mov dword [ecx], 0xc000000d
lea esi, [esp + 0x10]
call fcn.004c5d90
lea eax, [esp + 0x30]
call fcn.00505660
lea esi, [esp + 0xc]
call fcn.004c5d90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, 0x92000001
jne 0x49c6e5
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x30]
mov dword [ecx], edi
mov dword [edx], 0xc0000022
jmp 0x49c69f
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0xf8]
push edx
call eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea esi, [esp + 0x38]
call fcn.005055f0
lea eax, [esp + 0xf8]
call fcn.00505660
mov esi, dword [esp + 0x34]
push esi
mov dword [esp + 0x50], edi
mov word [esp + 0x4c], di
mov word [esp + 0x4e], di
mov dword [esp + 0x70], edi
mov word [esp + 0x6c], di
mov word [esp + 0x6e], di
mov edi, dword [esp + 0x34]
push edi
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.00486a50
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], esi
push 4
lea ecx, [esp + 0x2c]
push ecx
call dword [0x100ef7e8]
xor esi, esi
push 4
lea edx, [esp + 0xd4]
push edx
mov dword [esp + 0xd4], esi
mov word [esp + 0xd0], si
mov word [esp + 0xd2], si
call dword [0x100ef7e8]
push 4
lea eax, [esp + 0xf4]
push eax
call dword [0x100ef7e8]
movzx ecx, word [esp + 0x48]
mov ebx, dword [ebp + 8]
shr ecx, 1
push ecx
mov ecx, dword [ebx + 0x78]
lea eax, [esp + 0x9c]
lea edi, [esp + 0xcc]
call fcn.00478eb0
mov eax, dword [esp + 0xd0]
cmp eax, esi
mov edi, eax
mov dword [esp + 0x44], edi
je 0x49c7f5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
movzx ecx, word [esp + 0x48]
shr ecx, 1
push ecx
mov ecx, dword [ebx + 0x74]
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0xb0]
mov dword [esp + 0x118], esi
mov word [esp + 0x114], si
mov word [esp + 0x116], si
mov dword [esp + 0x11c], esi
mov dword [esp + 0x120], esi
call fcn.004aa8b0
mov eax, dword [esp + 0x11c]
mov eax, dword [eax + 8]
cmp eax, esi
mov dword [esp + 0x2c], eax
je 0x49c853
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
cmp edi, esi
mov dword [esp + 0x14], edi
je 0x49c863
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
push 4
lea edx, [esp + 0x24]
push edx
call dword [0x100ef7e8]
push 4
lea eax, [esp + 0x28]
push eax
call dword [0x100ef7e8]
push 0x100cf494
lea ecx, [esp + 0xa4]
push ecx
call dword [0x100ef7e0]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
lea esi, [esp + 0x54]
lea eax, [esp + 0xd4]
mov dword [esp + 0x58], edx
call fcn.00484250
test eax, eax
je 0x49cc44
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
mov word [esp + 0x1a], bx
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x3c], ebx
mov word [esp + 0x38], bx
mov word [esp + 0x3a], bx
call eax
test eax, eax
je 0x49ca01
mov esi, dword [esp + 0x58]
cmp word [esp + 0x1a], si
jae 0x49c933
movzx ecx, si
and ecx, 0x800000ff
jns 0x49c915
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x1c]
add eax, 0x100
mov word [esp + 0x1a], ax
movzx eax, ax
call fcn.0053b3c0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
movzx edx, si
push edx
push eax
push ecx
mov word [esp + 0x24], si
call dword [0x100ef7ec]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov cx, ax
cmp cx, bx
mov esi, eax
jbe 0x49c98b
movzx edx, cx
and edx, 0x800000ff
jns 0x49c971
dec edx
or edx, 0xffffff00
inc edx
sub eax, edx
add eax, 0x100
mov word [esp + 0x3a], ax
movzx eax, ax
xor ecx, ecx
call fcn.0053b3c0
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
movzx eax, si
push eax
push edi
push ecx
mov word [esp + 0x44], si
call dword [0x100ef7ec]
jmp 0x49ca85
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xb4], eax
push ebx
lea eax, [esp + 0x34]
lea ecx, [esp + 0xb4]
mov dword [esp + 0xb4], 0x18
mov dword [esp + 0xc0], 0x40
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edi
call fcn.0049ac80
test eax, eax
jne 0x49c714
mov ecx, dword [ebp + 0x34]
mov dword [ecx], 1
jmp 0x49c69f
cmp dword [esp + 0x54], ebx
je 0x49ca23
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push edx
push eax
lea esi, [esp + 0x20]
call fcn.005055f0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
jmp 0x49ca7c
mov esi, dword [esp + 0x5c]
mov ecx, esi
lea eax, [esp + 0x104]
lea edx, [esp + 0xd4]
call fcn.004843a0
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x114]
call fcn.004ab1d0
add esp, 0x10
test eax, eax
jne 0x49ca85
mov ecx, dword [esp + 0x58]
push esi
push ecx
lea esi, [esp + 0x20]
call fcn.005055f0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea esi, [esp + 0x40]
call fcn.005055f0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x94], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [edx + 0x78]
mov edx, dword [esp + 0x14]
push edx
lea edx, [esp + 0x94]
push edx
lea edx, [esp + 0x80]
mov dword [esp + 0x80], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
push edx
lea edx, [esp + 0x4c]
push edx
call eax
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x20]
call fcn.004a4580
mov eax, edi
test eax, eax
je 0x49caf4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x14], eax
je 0x49cb20
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x49cb20
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], 0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x49cba6
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x1cc]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x1e4], 0
je 0x49cba6
mov esi, dword [esp + 0x1e0]
mov ecx, dword [esi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [esi + 0x10]
cmp dword [ecx], 0
lea eax, [esi + 0x10]
jne 0x49cba6
mov edx, ecx
mov dword [edx], 0
mov eax, dword [esi + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x49cba6
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x49cc2c
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x1ac]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x1c4], 0
je 0x49cc2c
mov esi, dword [esp + 0x1c0]
mov ecx, dword [esi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [esi + 0x10]
cmp dword [ecx], 0
lea eax, [esi + 0x10]
jne 0x49cc2c
mov edx, ecx
mov dword [edx], 0
mov eax, dword [esi + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x49cc2c
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
lea esi, [esp + 0x54]
lea eax, [esp + 0xd4]
call fcn.00484250
test eax, eax
jne 0x49c8c6
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x78]
test ebx, ebx
je 0x49cc56
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
mov esi, dword [esi + 0x74]
test esi, esi
mov dword [esp + 0x70], esi
je 0x49cc72
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x9c]
mov ecx, esi
call edx
xor eax, eax
mov dword [esp + 0x140], eax
mov word [esp + 0x13c], ax
mov word [esp + 0x13e], ax
push 4
lea eax, [esp + 0x148]
push eax
call dword [0x100ef7e8]
push 4
lea ecx, [esp + 0x168]
push ecx
call dword [0x100ef7e8]
movzx edx, word [esp + 0x48]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x78]
shr edx, 1
push edx
lea eax, [esp + 0x84]
lea edi, [esp + 0x140]
call fcn.00478eb0
mov eax, dword [esp + 0x144]
test eax, eax
mov edi, eax
mov dword [esp + 0x50], edi
je 0x49ccf1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0xc]
call eax
cmp edi, eax
je 0x49cdd7
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x13c]
call fcn.0049d0a0
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x49cd62
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x49cd76
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x49cd86
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x49cd96
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10c]
call fcn.0048b140
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xc8]
call fcn.0049d0a0
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x49c775
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], esi
jmp 0x49c775
movzx edx, word [esp + 0x48]
mov ecx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x170], eax
mov word [esp + 0x16c], ax
mov word [esp + 0x16e], ax
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x88], eax
shr edx, 1
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x74]
push edx
lea eax, [esp + 0x170]
push eax
lea eax, [esp + 0x90]
call fcn.004aa8b0
mov edx, dword [esp + 0x17c]
mov edi, dword [edx + 8]
test edi, edi
mov dword [esp + 0x64], edi
je 0x49ce50
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0xc]
call eax
cmp edi, eax
je 0x49cf06
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x16c]
call fcn.0048b140
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x13c]
call fcn.0049d0a0
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x49ced9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x49ceed
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x49cefd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
jmp 0x49cd8e
mov ecx, dword [esp + 0x20]
xor edi, edi
cmp ecx, edi
je 0x49cf1c
mov eax, dword [ecx]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0x1c]
push edx
call eax
lea esi, [esp + 0x64]
call fcn.004c5d90
lea eax, [esp + 0x16c]
call fcn.0048b140
lea esi, [esp + 0x50]
call fcn.004c5d90
lea eax, [esp + 0x13c]
call fcn.0049d0a0
lea esi, [esp + 0x70]
call fcn.004aad40
mov edx, dword [ebx]
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x2c]
call fcn.004a21c0
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x49cf82
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 0x49cf96
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], edi
lea esi, [esp + 0x14]
call fcn.004c5d90
lea esi, [esp + 0x2c]
call fcn.004c5d90
lea eax, [esp + 0x10c]
call fcn.0048b140
lea esi, [esp + 0x44]
call fcn.004c5d90
lea eax, [esp + 0xc8]
call fcn.0049d0a0
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea ebx, [esp + 0x14]
call fcn.00479230
add esp, 8
test eax, eax
jl 0x49cff2
mov edx, ebx
push edx
lea eax, [ebp + 0xc]
push eax
mov eax, dword [esp + 0x7c]
call fcn.004a3260
lea esi, [esp + 0x28]
call fcn.004c5d90
lea eax, [esp + 0x68]
call fcn.00505660
lea eax, [esp + 0x48]
call fcn.00505660
lea esi, [esp + 0x10]
call fcn.004c5d90
lea eax, [esp + 0x30]
call fcn.00505660
xor edi, edi
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x49d078
mov eax, dword [ebp + 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 0x28]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
call edx
test eax, eax
jl 0x49d074
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x30]
lea esi, [esp + 0xc]
mov dword [eax], edi
mov dword [ecx], 0x103
call fcn.004c5d90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov ecx, dword [esp + 0xc]
cmp ecx, edi
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x30]
mov dword [edx], edi
mov dword [eax], 0xc000000d
je 0x49d092
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30