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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
jne 0x4f5d98
push 0x100cf494
lea eax, [esp + 0xbc]
push eax
call dword [0x100ef7e0]
lea eax, [esp + 0xb8]
jmp 0x4f5dc4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push 8
lea eax, [esp + 0xb4]
mov dword [esp + 0xb4], ecx
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0xc0], edx
call dword [0x100ef7ec]
lea eax, [esp + 0x34]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push 4
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call dword [0x100ef7e8]
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 0x14]
call fcn.004a2ca0
test eax, eax
je 0x4f5eda
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
call edx
mov edi, eax
cmp edi, esi
je 0x4f5eb3
cmp dword [0x100ef594], esi
je 0x4f5e82
lea esi, [esp + 0x70]
call fcn.00537210
mov esi, eax
push 0x100d59d8
call fcn.0052f5f0
push 0x100d4eec
call fcn.0052f5f0
push edi
lea ebx, [esp + 0xc4]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x70]
call fcn.00537250
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x4f5e82
call fcn.00472510
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
and edi, 0xefffffff
test eax, eax
mov dword [ecx], edi
je 0x4f6e6e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [esp + 0x18]
cmp eax, esi
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], esi
mov dword [edx], esi
je 0x4f6e6e
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
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4f5eee
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], esi
push 4
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0x94], esi
mov word [esp + 0x90], si
mov word [esp + 0x92], si
call dword [0x100ef7e8]
push 4
lea ecx, [esp + 0xa4]
push ecx
call dword [0x100ef7e8]
push 0x100cf494
lea edx, [esp + 0x104]
push edx
call dword [0x100ef7e0]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x74], eax
lea edx, [esp + 0x88]
lea ecx, [esp + 0x100]
push edx
lea eax, [esp + 0x74]
mov dword [esp + 0x7c], ecx
push eax
xor eax, eax
mov ecx, ebx
mov dword [esp + 0x78], 0x18
mov dword [esp + 0x84], 0x40
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
call fcn.004e6b00
test eax, eax
jne 0x4f5ff0
cmp dword [0x100ef594], esi
je 0x4f5fb5
lea esi, [esp + 0x70]
call fcn.00537210
mov esi, eax
push 0x100d59d8
call fcn.0052f5f0
push 0x100d4d80
call fcn.0052f5f0
lea eax, [esp + 0x70]
call fcn.00537250
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
lea eax, [esp + 0x88]
mov dword [ecx], 0
mov dword [edx], 0xc0000229
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ecx, dword [eax + 8]
call ecx
mov ebx, dword [ebp + 8]
jmp 0x4f5ff0
mov edi, dword [esp + 0x90]
test edi, edi
mov dword [esp + 0x18], edi
je 0x4f6007
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov esi, dword [esp + 0x9c]
push 0x100cf494
lea edx, [esp + 0x15c]
push edx
call dword [0x100ef7e0]
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x98]
call fcn.004fb510
test eax, eax
mov dword [esp + 0x9c], esi
je 0x4f631c
mov eax, edi
call fcn.004e75b0
mov esi, 1
cmp dword [ebx + 0x6c], esi
je 0x4f6087
cmp eax, esi
je 0x4f6087
cmp eax, 3
je 0x4f6087
cmp eax, 2
jne 0x4f6083
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
or dword [esp + 0x1c], esi
lea eax, [esp + 0xf0]
push eax
mov ecx, edi
call edx
lea ecx, [esp + 0x3c]
push ecx
call fcn.004e63f0
test eax, eax
je 0x4f6087
xor bl, bl
jmp 0x4f6089
mov bl, 1
test byte [esp + 0x1c], 1
je 0x4f60a1
and dword [esp + 0x1c], 0xfffffffe
lea eax, [esp + 0xf0]
call fcn.00505660
test bl, bl
je 0x4f69ec
push 4
lea edx, [esp + 0x38]
push edx
call dword [0x100ef7e8]
push 4
lea eax, [esp + 0x3c]
push eax
call dword [0x100ef7e8]
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x24], edi
je 0x4f60d7
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
push 0x100cf494
lea eax, [esp + 0xbc]
push eax
call dword [0x100ef7e0]
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
lea eax, [esp + 0xb0]
mov dword [esp + 0xb4], edx
push eax
lea edx, [esp + 0x98]
mov dword [esp + 0xb4], ecx
call fcn.004fb510
test eax, eax
je 0x4f6199
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
lea eax, [esp + 0xb0]
push eax
push edi
lea eax, [esp + 0x74]
push eax
call edx
mov ebx, dword [esp + 0x6c]
lea esi, [esp + 0x34]
call fcn.004f9bd0
test edi, edi
je 0x4f6155
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x4f617d
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4f617d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], 0
lea eax, [esp + 0xb0]
push eax
lea edx, [esp + 0x98]
call fcn.004fb510
test eax, eax
jne 0x4f611e
mov dword [esp + 0x24], edi
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
push edi
lea eax, [esp + 0x5c]
push eax
call edx
mov esi, dword [ebx + 0xc]
test esi, esi
mov dword [esp + 0x2c], esi
je 0x4f61d3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
push 0x100cf494
lea ecx, [esp + 0xd4]
push ecx
call dword [0x100ef7e0]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x88]
mov dword [esp + 0x58], edx
push ecx
mov dword [esp + 0x60], eax
xor eax, eax
lea edx, [esp + 0x58]
push edx
mov ecx, ebx
mov dword [esp + 0x5c], 0x18
mov dword [esp + 0x68], 0x40
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.004e6b00
test eax, eax
je 0x4f6950
mov eax, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x20], eax
je 0x4f6251
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x128]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x138]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [esp + 0x28]
cmp ecx, dword [edx]
jne 0x4f6296
mov eax, dword [eax + 4]
mov ecx, edx
cmp eax, dword [ecx + 4]
mov byte [esp + 0x13], 1
je 0x4f629b
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp byte [esp + 0x13], 0
jne 0x4f69bc
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4f62de
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor esi, esi
mov dword [esp + 0x48], esi
jmp 0x4f62e0
xor esi, esi
cmp edi, esi
je 0x4f62ec
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x4f6300
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x4f6314
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x34], esi
mov eax, dword [ebx]
push ebx
jmp 0x4f5fdc
push 4
lea edx, [esp + 0x18]
push edx
call dword [0x100ef7e8]
mov eax, dword [edi]
mov eax, dword [eax + 0x70]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, edi
call eax
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x4f678d
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
je 0x4f6617
mov eax, edi
call fcn.004e75b0
cmp dword [ebx + 0x6c], 1
je 0x4f63a1
cmp eax, 1
je 0x4f63a1
cmp eax, 3
je 0x4f63a1
cmp eax, 2
jne 0x4f639a
or dword [esp + 0x1c], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x110]
push eax
mov ecx, edi
call edx
lea ecx, [esp + 0x3c]
push ecx
call fcn.004e63f0
test eax, eax
je 0x4f63a1
mov byte [esp + 0x13], 0
jmp 0x4f63a6
mov byte [esp + 0x13], 1
test byte [esp + 0x1c], 2
je 0x4f63be
and dword [esp + 0x1c], 0xfffffffd
lea eax, [esp + 0x110]
call fcn.00505660
cmp byte [esp + 0x13], 0
je 0x4f6510
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
push edi
lea eax, [esp + 0x60]
push eax
call edx
mov esi, dword [ebx + 0xc]
test esi, esi
mov dword [esp + 0x2c], esi
je 0x4f6400
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
push 0x100cf494
lea ecx, [esp + 0xfc]
push ecx
call dword [0x100ef7e0]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0xf8]
lea ecx, [esp + 0x88]
mov dword [esp + 0x58], edx
push ecx
mov dword [esp + 0x60], eax
xor eax, eax
lea edx, [esp + 0x58]
push edx
mov ecx, ebx
mov dword [esp + 0x5c], 0x18
mov dword [esp + 0x68], 0x40
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.004e6b00
test eax, eax
je 0x4f69f6
mov eax, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x28], eax
je 0x4f647e
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x148]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x118]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx]
jne 0x4f64bf
mov eax, dword [eax + 4]
mov ecx, edx
cmp eax, dword [ecx + 4]
mov byte [esp + 0x13], 1
je 0x4f64c4
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp byte [esp + 0x13], 0
jne 0x4f6a50
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4f6768
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], 0
jmp 0x4f6768
mov esi, dword [ebx + 0xc]
test esi, esi
mov dword [esp + 0x24], esi
je 0x4f6523
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
push 0x100cf494
lea ecx, [esp + 0xe4]
push ecx
call dword [0x100ef7e0]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0xe0]
lea ecx, [esp + 0x88]
mov dword [esp + 0x58], edx
push ecx
mov dword [esp + 0x60], eax
xor eax, eax
lea edx, [esp + 0x58]
push edx
mov ecx, ebx
mov dword [esp + 0x5c], 0x18
mov dword [esp + 0x68], 0x40
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.004e6b00
test eax, eax
je 0x4f6a6c
mov eax, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x28], eax
je 0x4f65a1
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x140]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x130]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx]
jne 0x4f65e2
mov eax, dword [eax + 4]
mov ecx, edx
cmp eax, dword [ecx + 4]
mov byte [esp + 0x13], 1
je 0x4f65e7
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp byte [esp + 0x13], 0
jne 0x4f6abd
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
jmp 0x4f6768
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
test eax, eax
jne 0x4f6bc8
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
push edi
lea eax, [esp + 0x64]
push eax
call edx
mov esi, dword [ebx + 0xc]
test esi, esi
mov dword [esp + 0x2c], esi
je 0x4f6661
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
push 0x100cf494
lea ecx, [esp + 0xec]
push ecx
call dword [0x100ef7e0]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0xe8]
lea ecx, [esp + 0x88]
mov dword [esp + 0x58], edx
push ecx
mov dword [esp + 0x60], eax
xor eax, eax
lea edx, [esp + 0x58]
push edx
mov ecx, ebx
mov dword [esp + 0x5c], 0x18
mov dword [esp + 0x68], 0x40
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.004e6b00
test eax, eax
je 0x4f6c91
mov eax, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x28], eax
je 0x4f66df
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x150]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x120]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx]
jne 0x4f6720
mov eax, dword [eax + 4]
mov ecx, edx
cmp eax, dword [ecx + 4]
mov byte [esp + 0x13], 1
je 0x4f6725
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp byte [esp + 0x13], 0
jne 0x4f6ceb
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4f6768
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f6780
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], 0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
jmp 0x4f5ff0
cmp eax, 1
jne 0x4f6dc1
mov eax, edi
call fcn.004e75b0
cmp dword [ebx + 0x6c], 1
je 0x4f67dd
cmp eax, 1
je 0x4f67dd
cmp eax, 3
je 0x4f67dd
cmp eax, 2
jne 0x4f67d6
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
or dword [esp + 0x1c], 4
lea eax, [esp + 0x108]
push eax
mov ecx, edi
call edx
lea ecx, [esp + 0x3c]
push ecx
call fcn.004e63f0
test eax, eax
je 0x4f67dd
mov byte [esp + 0x13], 0
jmp 0x4f67e2
mov byte [esp + 0x13], 1
test byte [esp + 0x1c], 4
je 0x4f67fa
and dword [esp + 0x1c], 0xfffffffb
lea eax, [esp + 0x108]
call fcn.00505660
cmp byte [esp + 0x13], 0
je 0x4f6db3
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
push edi
lea eax, [esp + 0x58]
push eax
call edx
mov esi, dword [ebx + 0xc]
test esi, esi
mov dword [esp + 0x2c], esi
je 0x4f683c
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
push 0x100cf494
lea ecx, [esp + 0xdc]
push ecx
call dword [0x100ef7e0]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0xd8]
lea ecx, [esp + 0x88]
mov dword [esp + 0x58], edx
push ecx
mov dword [esp + 0x60], eax
xor eax, eax
lea edx, [esp + 0x58]
push edx
mov ecx, ebx
mov dword [esp + 0x5c], 0x18
mov dword [esp + 0x68], 0x40
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.004e6b00
test eax, eax
je 0x4f6d22
mov ebx, dword [esp + 0x90]
test ebx, ebx
je 0x4f68b6
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc0]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx]
jne 0x4f68f2
mov eax, dword [eax + 4]
mov ecx, edx
cmp eax, dword [ecx + 4]
mov byte [esp + 0x13], 1
je 0x4f68f7
mov byte [esp + 0x13], 0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
cmp byte [esp + 0x13], 0
jne 0x4f6d7c
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, esi
je 0x4f6934
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4f6948
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [edi]
push edi
jmp 0x4f5fdc
cmp dword [0x100ef594], 0
je 0x4f6981
lea esi, [esp + 0x70]
call fcn.00537210
mov esi, eax
push 0x100d59d8
call fcn.0052f5f0
push 0x100d4d80
call fcn.0052f5f0
lea eax, [esp + 0x70]
call fcn.00537250
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov dword [eax], 0xc0000229
lea esi, [esp + 0x2c]
mov dword [edx], 0
call fcn.004ff550
lea esi, [esp + 0x48]
call fcn.004c5d90
lea esi, [esp + 0x24]
call fcn.004c5d90
lea esi, [esp + 0x34]
call fcn.00490350
jmp 0x4f6e59
mov edx, dword [edi]
mov eax, dword [esp + 0x48]
mov edx, dword [edx + 0x54]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4f69de
mov eax, dword [ecx]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x44]
push edx
call eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
jmp 0x4f698d
mov eax, dword [ebp + 0x24]
mov dword [eax], esi
jmp 0x4f6e59
cmp dword [0x100ef594], 0
je 0x4f6a27
lea esi, [esp + 0x70]
call fcn.00537210
mov esi, eax
push 0x100d59d8
call fcn.0052f5f0
push 0x100d4d80
call fcn.0052f5f0
lea eax, [esp + 0x70]
call fcn.00537250
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
mov dword [edx], 0xc0000229
lea esi, [esp + 0x2c]
mov dword [ecx], 0
call fcn.004ff550
lea esi, [esp + 0x4c]
call fcn.004c5d90
jmp 0x4f6e50
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi]
mov edx, dword [eax + 0x54]
push ecx
mov ecx, edi
call edx
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
jmp 0x4f6a33
cmp dword [0x100ef594], 0
je 0x4f6a9d
lea esi, [esp + 0x70]
call fcn.00537210
mov esi, eax
push 0x100d59d8
call fcn.0052f5f0
push 0x100d4d80
call fcn.0052f5f0
lea eax, [esp + 0x70]
call fcn.00537250
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
lea esi, [esp + 0x24]
mov dword [edx], 0
mov dword [eax], 0xc0000229
call fcn.004ff550
jmp 0x4f6e50
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [0x100ef48c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
add ecx, 0xa90
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
test eax, eax
je 0x4f6b0a
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
lea esi, [esp + 0x24]
mov dword [ecx], 0
mov dword [edx], eax
call fcn.004ff550
jmp 0x4f6e50
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov esi, dword [edi]
mov edx, dword [eax + 0xc]
add esi, 0x58
call edx
mov edx, dword [esi]
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call edx
mov edi, eax
test edi, edi
je 0x4f6ba8
cmp dword [0x100ef594], 0
je 0x4f6b86
lea esi, [esp + 0x70]
call fcn.00537210
mov esi, eax
push 0x100d59d8
call fcn.0052f5f0
push 0x100d5a18
call fcn.0052f5f0
push edi
lea ebx, [esp + 0xc4]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x70]
call fcn.00537250
mov esi, ebx
call fcn.00490320
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and edi, 0xefffffff
lea esi, [esp + 0x24]
mov dword [eax], 0
mov dword [ecx], edi
call fcn.004ff550
jmp 0x4f6e50
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
lea esi, [esp + 0x24]
mov dword [edx], 0
mov dword [eax], 0
call fcn.004ff550
jmp 0x4f6e50
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x24]
push eax
call edx
mov edx, dword [ebp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push edx
call eax
mov edi, eax
test edi, edi
je 0x4f6c71
cmp dword [0x100ef594], 0
je 0x4f6c4f
lea esi, [esp + 0x70]
call fcn.00537210
mov esi, eax
push 0x100d59d8
call fcn.0052f5f0
push 0x100d5a44
call fcn.0052f5f0
push edi
lea ebx, [esp + 0xc4]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x70]
call fcn.00537250
mov esi, ebx
call fcn.00490320
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and edi, 0xefffffff
lea esi, [esp + 0x24]
mov dword [ecx], 0
mov dword [edx], edi
call fcn.004c5d90
jmp 0x4f6e50
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
lea esi, [esp + 0x24]
mov dword [eax], 0
mov dword [ecx], 0
call fcn.004c5d90
jmp 0x4f6e50
cmp dword [0x100ef594], 0
je 0x4f6cc2
lea esi, [esp + 0x70]
call fcn.00537210
mov esi, eax
push 0x100d59d8
call fcn.0052f5f0
push 0x100d4d80
call fcn.0052f5f0
lea eax, [esp + 0x70]
call fcn.00537250
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
lea esi, [esp + 0x2c]
mov dword [edx], 0
mov dword [eax], 0xc0000229
call fcn.004ff550
lea esi, [esp + 0x50]
call fcn.004c5d90
jmp 0x4f6e50
mov edx, dword [edi]
mov eax, dword [esp + 0x50]
mov edx, dword [edx + 0x54]
push eax
mov ecx, edi
call edx
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
lea esi, [esp + 0x2c]
mov dword [eax], 0
mov dword [ecx], 0
call fcn.004ff550
lea esi, [esp + 0x50]
call fcn.004c5d90
jmp 0x4f6e50
cmp dword [0x100ef594], 0
je 0x4f6d53
lea esi, [esp + 0x70]
call fcn.00537210
mov esi, eax
push 0x100d59d8
call fcn.0052f5f0
push 0x100d4d80
call fcn.0052f5f0
lea eax, [esp + 0x70]
call fcn.00537250
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
lea esi, [esp + 0x2c]
mov dword [edx], 0
mov dword [eax], 0xc0000229
call fcn.004ff550
lea esi, [esp + 0x44]
call fcn.004c5d90
jmp 0x4f6e50
mov edx, dword [edi]
mov eax, dword [esp + 0x44]
mov edx, dword [edx + 0x54]
push eax
mov ecx, edi
call edx
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
lea esi, [esp + 0x2c]
mov dword [eax], 0
mov dword [ecx], 0
call fcn.004ff550
lea esi, [esp + 0x44]
call fcn.004c5d90
jmp 0x4f6e50
mov edx, dword [ebp + 0x24]
mov dword [edx], 1
jmp 0x4f6e50
cmp dword [0x100ef594], 0
je 0x4f6e22
lea esi, [esp + 0x70]
call fcn.00537210
mov esi, eax
push 0x100d59d8
call fcn.0052f5f0
push 0x100d4f1c
call fcn.0052f5f0
mov eax, dword [esp + 0x2c]
push eax
lea ebx, [esp + 0xc4]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x70]
call fcn.00537250
mov esi, ebx
call fcn.00490320
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x6c], 1
je 0x4f6e3e
mov eax, edi
call fcn.004e75b0
test eax, eax
jne 0x4f6e3e
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
jmp 0x4f6e50
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0xc0000229
lea esi, [esp + 0x14]
call fcn.004c5d90
lea esi, [esp + 0x18]
call fcn.004c5d90
lea eax, [esp + 0x88]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24