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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
cmp dword [0x100a5920], 0
mov eax, dword [ebp + 0x20]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x74], ebx
je 0x49f0eb
test eax, eax
je 0x49f0eb
mov dword [eax], 0
lea eax, [esp + 0x10]
push 4
push eax
call fcn.0045e3d0
mov edi, dword [ebp + 0x10]
lea esi, [edi + 4]
add esp, 8
cmp dword [esi], 0
je 0x49f25c
lea edx, [esp + 0x10]
push edx
lea ecx, [ebx + 0x14]
push esi
mov dword [esp + 0x94], ecx
call fcn.0046bd90
test eax, eax
je 0x49f25c
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
test eax, eax
jne 0x49f215
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
test eax, eax
jne 0x49f215
lea ecx, [esp + 0x18]
push 4
push ecx
call fcn.0045e3d0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
add esp, 8
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [edi + 8]
push eax
call edx
test eax, eax
je 0x49f1c7
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x18]
call fcn.004c4020
lea ecx, [esp + 0x14]
call fcn.004c4020
lea ecx, [esp + 0x10]
call fcn.004c4020
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [esp + 0x18]
push eax
mov ecx, ebx
call fcn.0049c5b0
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x6c]
mov esi, eax
push edx
mov dword [esp + 0x70], esi
call fcn.0046bc60
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x49f201
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0
jmp 0x49f1a3
mov ecx, dword [ebp + 0x24]
mov eax, dword [esp + 0x14]
test eax, eax
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0xc000017c
je 0x49f23f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a0676
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0xb0]
call fcn.004af3d0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0xb4]
push ecx
push edi
mov ecx, ebx
call fcn.0049ef10
test eax, eax
jne 0x49f323
cmp dword [0x100a5964], eax
je 0x49f2b6
push 0x10096d24
push 0x10096ce8
lea ecx, [esp + 0x64]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x5c]
call fcn.004584a0
cmp dword [ebx + 0x38], 1
jne 0x49f309
mov esi, dword [esi]
test esi, esi
je 0x49f2e6
push esi
call fcn.004af9e0
add esp, 4
test eax, eax
je 0x49f2e6
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0xc000017c
jmp 0x4a0661
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
lea ecx, [esp + 0xb0]
mov dword [edx], 0xc0000229
call fcn.00499da0
jmp 0x49f23f
mov eax, dword [ebp + 0x24]
lea ecx, [esp + 0xb0]
mov dword [eax], 1
call fcn.00499da0
jmp 0x49f23f
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xb4]
call fcn.004af5c0
lea ecx, [esp + 0xb0]
call fcn.00498200
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x1c], edi
call eax
test eax, eax
je 0x49f889
mov ecx, edi
call fcn.004af930
test eax, eax
jne 0x49fce7
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
je 0x49f55a
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x70]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x30]
push edx
call eax
cmp dword [esp + 0x30], 0
je 0x49ff7f
lea ecx, [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xfc]
push eax
call edx
mov ecx, eax
call fcn.00498950
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x74]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
push edx
mov edx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0x108]
push edx
mov edx, dword [esp + 0x3c]
push 3
push edx
lea edx, [esp + 0x60]
push edx
call eax
lea ecx, [esp + 0xf8]
call fcn.00498940
lea ecx, [esp + 0x6c]
push 4
push ecx
call fcn.0045e3d0
lea edx, [esp + 0x78]
push 4
push edx
call fcn.0045e3d0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
add esp, 0x10
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.00499740
mov edx, dword [edi + 0xc]
push edx
lea ecx, [esp + 0xa0]
call fcn.004af5e0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, edi
call fcn.0049ef10
test eax, eax
je 0x49fcfe
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0xb4]
call fcn.004af5c0
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0xc]
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x44], eax
call edx
mov ecx, dword [esp + 0x44]
cmp ecx, eax
je 0x49fd89
mov eax, dword [esp + 0xc]
xor esi, esi
cmp eax, esi
je 0x49f4b0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, esi
mov dword [esp + 0xc], eax
je 0x49f4e1
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, esi
je 0x49f4e1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x80], esi
lea ecx, [esp + 0x9c]
call fcn.004af610
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0x49f501
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x49f515
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x49f529
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x49f53d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x49f334
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x38], esi
jmp 0x49f334
mov edi, dword [esp + 0x74]
cmp dword [edi + 0x38], 1
jne 0x49f75a
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0045e3d0
lea ecx, [esp + 0x30]
push ecx
call fcn.004b6750
add esp, 0xc
test eax, eax
jne 0x49ff96
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x3c]
push eax
call edx
cmp dword [esp + 0x3c], 0
je 0x4a0277
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x10c]
push eax
call edx
mov ecx, eax
call fcn.00498950
mov edx, dword [esp + 0x28]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
push edx
mov edx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0xf8]
push edx
mov edx, dword [esp + 0x48]
push 3
push edx
lea edx, [esp + 0x28]
push edx
call eax
lea ecx, [esp + 0x108]
call fcn.00498940
lea ecx, [esp + 0x78]
push 4
push ecx
call fcn.0045e3d0
lea edx, [esp + 0x84]
push 4
push edx
call fcn.0045e3d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
add esp, 0x10
push eax
push ecx
lea ecx, [esp + 0x80]
call fcn.00499740
mov edx, dword [edi + 0xc]
push edx
lea ecx, [esp + 0x90]
call fcn.004af5e0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, edi
call fcn.0049ef10
test eax, eax
je 0x4a0016
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0xb4]
call fcn.004af5c0
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0xc]
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x44], eax
call edx
mov ecx, dword [esp + 0x44]
cmp ecx, eax
je 0x4a0090
mov eax, dword [esp + 0xc]
xor esi, esi
cmp eax, esi
je 0x49f6b0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x84]
cmp eax, esi
mov dword [esp + 0xc], eax
je 0x49f6e1
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x49f6e1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x84], esi
lea ecx, [esp + 0x8c]
call fcn.004af610
mov eax, dword [esp + 0x7c]
cmp eax, esi
je 0x49f701
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x78]
cmp eax, esi
je 0x49f715
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x49f729
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x49f73d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x49f334
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], esi
jmp 0x49f334
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ecx, dword [0x100a5870]
push ebx
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
add ecx, 0x6fc
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
cmp dword [edi + 0x38], 1
mov esi, eax
jne 0x49f7d0
cmp esi, 0xc0000022
jne 0x49f7d0
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ecx, dword [0x100a5870]
push ebx
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0x6fc]
add ecx, 0x6fc
push 0x2000000
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
mov esi, eax
test esi, esi
jne 0x4a031b
test ebx, ebx
je 0x49f7e2
mov dword [ebx], 1
mov ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0x54]
call fcn.004af5e0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push edx
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, edi
call fcn.0049ef10
test eax, eax
je 0x4a028e
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0xb4]
call fcn.004af5c0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, edi
je 0x4a02fe
mov eax, dword [esp + 0xc]
test eax, eax
je 0x49f84f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0xc], eax
je 0x49f87b
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x49f87b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x50]
call fcn.004af610
jmp 0x49f334
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
test eax, eax
jne 0x4a032e
mov ebx, dword [esp + 0x74]
mov esi, 1
cmp dword [ebx + 0x38], esi
jne 0x4a0653
mov ecx, edi
call fcn.004af930
test eax, eax
je 0x4a0460
xor ecx, ecx
cmp dword [0x100a5ba4], ecx
mov dword [esp + 0x44], ecx
je 0x49f8e6
mov eax, dword [ebp + 0xc]
test eax, 0x200
je 0x49f8db
mov dword [esp + 0x44], ecx
jmp 0x49f8e6
test eax, 0x100
je 0x49f8e6
mov dword [esp + 0x44], esi
lea eax, [esp + 0x54]
push 4
push eax
call fcn.0045e3d0
lea ecx, [esp + 0x60]
push 4
push ecx
call fcn.0045e3d0
lea edx, [esp + 0x30]
push 4
push edx
call fcn.0045e3d0
mov esi, dword [esp + 0x24]
add esp, 0x18
test esi, esi
mov dword [esp + 0x24], esi
je 0x49f921
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
lea ecx, [esp + 0xa8]
call fcn.004af900
lea edx, [esp + 0xa8]
push edx
mov ecx, edi
call fcn.004af850
test eax, eax
je 0x49fb15
jmp 0x49f950
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x114]
push ecx
mov ecx, edi
call fcn.004af7f0
mov edx, dword [ebp + 0xc]
push eax
push edx
mov ecx, ebx
call fcn.00498ce0
test eax, eax
je 0x49fa71
lea eax, [esp + 0x48]
push 4
push eax
call fcn.0045e3d0
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
add esp, 8
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0xac]
push ecx
push eax
mov ecx, esi
call edx
test eax, eax
je 0x49fa21
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
lea edx, [esp + 0xa8]
push edx
push 3
push esi
lea edx, [esp + 0x74]
push edx
call eax
mov edi, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x49f9e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], 0
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x48], eax
je 0x49f9f6
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x49fa12
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], 0
push eax
push esi
lea ecx, [esp + 0x5c]
call fcn.00499740
mov edi, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov esi, dword [esp + 0x48]
test esi, esi
je 0x49fa51
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x49fa51
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], 0
lea eax, [esp + 0xa8]
push eax
mov ecx, edi
call fcn.004af850
test eax, eax
jne 0x49f950
mov dword [esp + 0x24], esi
jmp 0x49fb15
mov ecx, edi
mov dword [esp + 0x24], esi
call fcn.004af930
test eax, eax
jne 0x4a046a
lea ecx, [esp + 0x20]
push ecx
call fcn.004b6750
add esp, 4
test eax, eax
jne 0x4a049c
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
push eax
mov eax, dword [ebp + 0x18]
push eax
lea eax, [esp + 0xb0]
push eax
push 3
push esi
lea eax, [esp + 0xb8]
push eax
call edx
mov eax, dword [esp + 0xa4]
push eax
push esi
lea ecx, [esp + 0x5c]
call fcn.00499740
test esi, esi
je 0x49fae0
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [esp + 0xa4]
test esi, esi
mov dword [esp + 0x24], esi
je 0x49fb15
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x49fb15
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0xa4], 0
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
test eax, eax
je 0x4a04b1
lea ecx, [esp + 0x18]
push 4
push ecx
call fcn.0045e3d0
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
add esp, 8
lea edx, [esp + 0x18]
mov ebx, eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push 0x10088394
lea ecx, [esp + 0xec]
add edi, 0x10
call fcn.00498650
mov ecx, eax
call fcn.00498c20
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
test eax, eax
jne 0x4a0527
lea eax, [esp + 0x40]
push 4
push eax
call fcn.0045e3d0
mov ebx, dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
add esp, 8
lea ecx, [esp + 0x40]
push ecx
push ebx
push edx
push 0x10088394
lea ecx, [esp + 0x6c]
call fcn.00498650
mov ecx, eax
call fcn.00498c20
push eax
push esi
call fcn.004b1bc0
add esp, 0x14
test eax, eax
jne 0x4a0548
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 0xc]
push eax
lea ecx, [esp + 0xa4]
call fcn.004af5e0
mov edx, dword [ebp + 0x10]
push ebx
lea ecx, [esp + 0xb4]
push ecx
push edx
mov ecx, edi
call fcn.0049ef10
test eax, eax
je 0x4a0572
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xb4]
call fcn.004af5c0
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0xc]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x1c], eax
call edx
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x4a05e5
mov eax, dword [esp + 0xc]
xor edi, edi
cmp eax, edi
je 0x49fc35
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x98]
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x49fc66
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x98]
cmp eax, edi
je 0x49fc66
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x98], edi
lea ecx, [esp + 0xa0]
call fcn.004af610
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x49fc86
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x49fc9a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], edi
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x49fcb6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0x49fcca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x49f334
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x54], edi
jmp 0x49f334
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000034
jmp 0x4a0658
cmp dword [0x100a5964], 0
je 0x49fd31
push 0x10096d24
push 0x10096ce8
lea ecx, [esp + 0x64]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x5c]
call fcn.004584a0
cmp dword [edi + 0x38], 1
jne 0x49fd7e
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0xc0000229
lea ecx, [esp + 0x9c]
call fcn.004af610
lea ecx, [esp + 0x6c]
call fcn.00499d70
lea ecx, [esp + 0x4c]
call fcn.004c4020
lea ecx, [esp + 0x30]
call fcn.004c4020
lea ecx, [esp + 0x38]
call fcn.004c4020
jmp 0x4a0658
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
jmp 0x49fd49
lea ecx, [esp + 0x6c]
call fcn.00499690
lea ecx, [esp + 0x80]
call fcn.004c4020
lea ecx, [esp + 0x9c]
call fcn.004af610
lea edx, [esp + 0x90]
push 4
push edx
call fcn.0045e3d0
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
add esp, 8
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x90]
push eax
push ebx
push 0x10088394
lea ecx, [esp + 0x68]
add esi, 0x10
call fcn.00498650
mov ecx, eax
call fcn.00498c20
mov ecx, dword [esp + 0x24]
mov edx, dword [esi]
push eax
call edx
mov esi, eax
test esi, esi
je 0x49fe7f
cmp dword [0x100a5964], 0
je 0x49fe5a
push 0x10088e80
push esi
lea ecx, [esp + 0xe8]
call fcn.0045aab0
push eax
push 0x10096aa4
push 0x10096ce8
lea ecx, [esp + 0x6c]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.00459770
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x5c]
call fcn.004584a0
lea ecx, [esp + 0xe0]
call fcn.004442a0
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x90]
call fcn.004c4020
jmp 0x49fd55
lea edx, [esp + 0x88]
push 4
push edx
call fcn.0045e3d0
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x54]
add esp, 8
lea eax, [esp + 0x88]
push eax
push ebx
push ecx
push 0x10088394
lea ecx, [esp + 0x6c]
call fcn.00498650
mov ecx, eax
call fcn.00498c20
push eax
push esi
call fcn.004b1bc0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x49ff2f
cmp dword [0x100a5964], 0
je 0x49fefe
push 0x10096cb8
push 0x10096ce8
lea ecx, [esp + 0x64]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x5c]
call fcn.004584a0
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [edx], 0
mov dword [eax], esi
lea ecx, [esp + 0x88]
call fcn.004c4020
lea ecx, [esp + 0x90]
call fcn.004c4020
jmp 0x49fd55
mov ecx, dword [esp + 0x88]
push ecx
mov ecx, edi
call fcn.0049c5b0
mov esi, eax
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x14]
mov dword [esp + 0x24], esi
call fcn.0046bc60
mov eax, dword [ebp + 0x20]
test eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
je 0x49ff6b
mov dword [eax], 1
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0
jmp 0x49ff12
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0xc0000229
jmp 0x49fd67
cmp dword [0x100a5964], 0
je 0x49fff6
push 0x10088e80
push eax
lea ecx, [esp + 0xe8]
call fcn.0045aab0
push eax
push 0x10096acc
push 0x10096ce8
lea ecx, [esp + 0x6c]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.00459770
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x5c]
call fcn.004584a0
lea ecx, [esp + 0xe0]
call fcn.004442a0
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x28]
call fcn.004c4020
jmp 0x4a0658
cmp dword [0x100a5964], 0
je 0x4a0049
push 0x10096d24
push 0x10096ce8
lea ecx, [esp + 0x64]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x5c]
call fcn.004584a0
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
lea ecx, [esp + 0x8c]
mov dword [eax], 0xc0000229
call fcn.004af610
lea ecx, [esp + 0x78]
call fcn.00499d70
lea ecx, [esp + 0x14]
call fcn.004c4020
lea ecx, [esp + 0x3c]
call fcn.004c4020
lea ecx, [esp + 0x28]
call fcn.004c4020
jmp 0x4a0658
lea ecx, [esp + 0x78]
call fcn.00499690
lea ecx, [esp + 0x84]
call fcn.004c4020
lea ecx, [esp + 0x8c]
call fcn.004af610
lea ecx, [esp + 0x2c]
push 4
push ecx
call fcn.0045e3d0
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
add esp, 8
lea edx, [esp + 0x2c]
push edx
push ebx
push 0x10088394
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], eax
add esi, 0x10
call fcn.00498650
mov ecx, eax
call fcn.00498c20
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esi]
call eax
mov esi, eax
test esi, esi
je 0x4a017d
cmp dword [0x100a5964], 0
je 0x4a015b
push 0x10088e80
push esi
lea ecx, [esp + 0xe8]
call fcn.0045aab0
push eax
push 0x10096aa4
push 0x10096ce8
lea ecx, [esp + 0x6c]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.00459770
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x5c]
call fcn.004584a0
lea ecx, [esp + 0xe0]
call fcn.004442a0
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
and esi, 0xefffffff
lea ecx, [esp + 0x2c]
mov dword [edx], esi
call fcn.004c4020
jmp 0x4a0067
lea eax, [esp + 0x94]
push 4
push eax
call fcn.0045e3d0
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
add esp, 8
lea ecx, [esp + 0x94]
push ecx
push ebx
push edx
push 0x10088394
lea ecx, [esp + 0x6c]
call fcn.00498650
mov ecx, eax
call fcn.00498c20
push eax
push esi
call fcn.004b1bc0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4a0227
cmp dword [0x100a5964], 0
je 0x4a01f9
push 0x10096cb8
push 0x10096ce8
lea ecx, [esp + 0x64]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x5c]
call fcn.004584a0
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x94]
call fcn.004c4020
lea ecx, [esp + 0x2c]
call fcn.004c4020
jmp 0x4a0067
mov edx, dword [esp + 0x94]
push edx
mov ecx, edi
call fcn.0049c5b0
mov esi, eax
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x24], esi
call fcn.0046bc60
mov eax, dword [ebp + 0x20]
test eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], esi
je 0x4a0263
mov dword [eax], 1
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x4a020d
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0xc0000229
jmp 0x4a0079
cmp dword [0x100a5964], 0
je 0x4a02c1
push 0x10096d24
push 0x10096ce8
lea ecx, [esp + 0x64]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x5c]
call fcn.004584a0
cmp dword [edi + 0x38], 1
jne 0x4a02e7
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
lea ecx, [esp + 0x50]
mov dword [edx], 0xc0000229
call fcn.004af610
jmp 0x4a0658
mov eax, dword [ebp + 0x24]
lea ecx, [esp + 0x50]
mov dword [eax], 1
call fcn.004af610
jmp 0x4a0658
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
call eax
lea ecx, [esp + 0x34]
call fcn.004c4020
lea ecx, [esp + 0x50]
call fcn.004af610
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], esi
jmp 0x4a0658
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x70]
lea edx, [esp + 0x50]
push edx
call eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, edi
call fcn.004af820
lea edx, [esp + 0x2c]
push 4
push edx
call fcn.0045e3d0
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
add esp, 8
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x6c]
push edx
mov edx, dword [ebp + 0x18]
push esi
push edx
lea edx, [esp + 0xb8]
push edx
call eax
test eax, eax
je 0x4a03af
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
and eax, 0xefffffff
lea ecx, [esp + 0x2c]
mov dword [edx], eax
call fcn.004c4020
lea ecx, [esp + 0x50]
call fcn.004c4020
jmp 0x4a0658
lea eax, [esp + 0x34]
push 4
push eax
call fcn.0045e3d0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push edx
lea eax, [esp + 0xbc]
push eax
push ecx
call fcn.004b1bc0
add esp, 0x1c
test eax, eax
je 0x4a0412
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x34]
call fcn.004c4020
lea ecx, [esp + 0x2c]
call fcn.004c4020
lea ecx, [esp + 0x50]
call fcn.004c4020
jmp 0x4a0658
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x74]
push edx
mov ecx, edi
call fcn.0049c5b0
mov esi, eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x24], esi
call fcn.0046bc60
mov eax, dword [ebp + 0x20]
test eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], esi
je 0x4a044c
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0
jmp 0x4a03f2
mov ecx, dword [ebp + 0x24]
mov dword [ecx], esi
jmp 0x4a0658
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0xc0000034
lea ecx, [esp + 0x24]
call fcn.004c4020
lea ecx, [esp + 0x20]
call fcn.004c4020
lea ecx, [esp + 0x54]
call fcn.00499d70
jmp 0x4a0658
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
jmp 0x4a047c
mov ecx, dword [0x100a5870]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx + 0x8ac]
mov esi, dword [ebp + 8]
push edi
add ecx, 0x8ac
push eax
mov eax, dword [edx + 0x24]
push esi
call eax
call eax
cmp dword [ebx + 0x38], 1
jne 0x4a0503
cmp eax, 0xc0000022
jne 0x4a0503
mov ecx, dword [0x100a5870]
mov edx, dword [ecx + 0x8ac]
mov eax, dword [edx + 0x24]
push edi
add ecx, 0x8ac
push 0x2000000
push esi
call eax
call eax
test eax, eax
jne 0x4a0514
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x4a0514
mov dword [ecx], 2
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], eax
jmp 0x4a047c
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
and eax, 0xefffffff
lea ecx, [esp + 0x18]
mov dword [edx], eax
call fcn.004c4020
jmp 0x4a047c
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x40]
call fcn.004c4020
lea ecx, [esp + 0x18]
call fcn.004c4020
jmp 0x4a047c
cmp dword [0x100a5964], 0
je 0x4a05a5
push 0x10096d24
push 0x10096ce8
lea ecx, [esp + 0x64]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x5c]
call fcn.004584a0
cmp dword [edi + 0x38], 1
jne 0x4a05cb
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0xa0]
call fcn.004af610
jmp 0x4a055b
mov edx, dword [ebp + 0x24]
lea ecx, [esp + 0xa0]
mov dword [edx], 1
call fcn.004af610
jmp 0x4a055b
lea ecx, [esp + 0x54]
call fcn.00499690
lea ecx, [esp + 0x98]
call fcn.004c4020
lea ecx, [esp + 0xa0]
call fcn.004af610
mov eax, dword [esp + 0x40]
push eax
mov ecx, edi
call fcn.0049c5b0
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x20]
mov esi, eax
push edx
lea ecx, [edi + 0x14]
mov dword [esp + 0x24], esi
call fcn.0046bc60
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4a063c
mov dword [eax], 1
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0
jmp 0x4a055b
mov eax, dword [ebp + 0x24]
mov dword [eax], esi
lea ecx, [esp + 0xc]
call fcn.004c4020
lea ecx, [esp + 0xb0]
call fcn.00499da0
lea ecx, [esp + 0x10]
call fcn.004c4020
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24