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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2fc
push ebx
push esi
push edi
push 4
lea eax, [esp + 0x20]
push eax
call dword [0x100ef7e8]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [esi + 0x14]
call fcn.004a2ca0
test eax, eax
je 0x4eeed5
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
test eax, eax
je 0x4ee756
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [ecx], 0xc000017c
je 0x4efe78
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
push 4
lea ecx, [esp + 0x14]
push ecx
call dword [0x100ef7e8]
lea edx, [esp + 0x10]
push edx
lea ecx, [ebp + 0xc]
lea eax, [esi + 0xb8]
push ecx
mov dword [esp + 0x48], eax
call fcn.004f9530
test eax, eax
je 0x4eea8f
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 8]
jbe 0x4eea8f
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 0x14], edi
mov dword [esp + 0x74], edi
mov word [esp + 0x70], di
mov word [esp + 0x72], di
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov esi, dword [eax + 8]
setne bl
cmp esi, ecx
jae 0x4ee7fd
add ecx, 0xffffffff
mov dword [esp + 0x3c], ecx
xor edx, edx
cmp esi, dword [esp + 0x3c]
setne dl
sub edx, 1
and edx, ebx
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x6c]
push edx
call eax
mov edi, eax
test edi, edi
jne 0x4ee830
mov eax, dword [esp + 0x10]
add esi, 1
cmp esi, dword [ebp + 0x10]
jb 0x4ee7c7
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x14]
sub eax, edi
je 0x4eea1b
sub eax, 1
je 0x4ee996
sub eax, 1
mov eax, dword [ebp + 0x24]
mov dword [eax], edi
je 0x4ee935
mov ecx, dword [ebp + 0x28]
mov dword [ecx], 0xc000000d
jmp 0x4ee95c
cmp edi, 1
jne 0x4ee885
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
lea ecx, [esp + 0x6c]
mov dword [edx], 0x8000001a
call fcn.004efeb0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ee868
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4efe78
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
cmp dword [0x100ef594], 0
je 0x4ee8e5
lea esi, [esp + 0x194]
call fcn.00537210
mov esi, eax
push 0x100d5208
call fcn.0052f5f0
push 0x100d50a4
call fcn.0052f5f0
push edi
lea ebx, [esp + 0x1f4]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x194]
call fcn.00537250
mov esi, ebx
call fcn.00490320
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x6c]
mov dword [eax], 0
call fcn.004efeb0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ee918
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4efe78
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 ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x84]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
call fcn.004f5630
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
lea ecx, [esp + 0x6c]
call fcn.004efeb0
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4ee979
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4efe78
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 [ebp + 0x24]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ebx, dword [ebp + 0x18]
mov dword [eax], edi
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x8c]
push edx
push eax
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004f5500
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
lea ecx, [esp + 0x6c]
call fcn.004efeb0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ee9fe
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4efe78
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 [ebp + 0x24]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [eax], 0
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x78]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x20]
lea edi, [esp + 0x6c]
mov dword [esp + 0x70], edx
call fcn.004f5470
mov edx, dword [ebp + 0x28]
lea ecx, [esp + 0x6c]
mov dword [edx], eax
call fcn.004efeb0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4eea72
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4efe78
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 esi, dword [ebp + 0x14]
test esi, esi
je 0x4eeacd
cmp esi, 1
je 0x4eeacd
cmp esi, 2
je 0x4eeacd
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
lea esi, [esp + 0x10]
mov dword [eax], 0
mov dword [ecx], 0xc000000d
call fcn.004f91d0
lea esi, [esp + 0x1c]
call fcn.004c5d90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ebx, [esp + 0x38]
call fcn.004e3630
mov edi, eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x4eeaee
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], ebx
mov eax, dword [edi]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4eeb00
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4eeb14
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x38], ebx
push 4
lea eax, [esp + 0x1c]
push eax
call dword [0x100ef7e8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x18]
push eax
call edx
mov edi, eax
cmp edi, ebx
je 0x4eebdf
cmp dword [0x100ef594], ebx
je 0x4eeb9c
lea esi, [esp + 0x188]
call fcn.00537210
mov esi, eax
push 0x100d5208
call fcn.0052f5f0
push 0x100d524c
call fcn.0052f5f0
push edi
lea ebx, [esp + 0x204]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x188]
call fcn.00537250
mov esi, ebx
call fcn.00490320
xor ebx, ebx
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and edi, 0xefffffff
mov dword [eax], ebx
mov dword [ecx], edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4eebc0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4eebd4
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jmp 0x4ee97f
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
add edi, 0xc
cmp eax, ebx
je 0x4eebf7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], ebx
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x4eec11
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ecx
call eax
mov ecx, dword [esp + 0x18]
xor edx, edx
cmp esi, ebx
setne dl
mov dword [esp + 0x90], ebx
mov word [esp + 0x8c], bx
mov word [esp + 0x8e], bx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
xor esi, esi
mov dword [esp + 0x3c], edx
jmp 0x4eec49
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp esi, dword [ebp + 0x10]
setne al
sub eax, 1
and eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x88]
push eax
call edx
mov edi, eax
cmp edi, ebx
jne 0x4eecf1
mov eax, dword [ebp + 0x10]
add esi, 1
cmp esi, eax
jbe 0x4eec45
mov ecx, dword [esp + 0x10]
mov dword [ecx + 8], eax
lea edx, [esp + 0x10]
push edx
lea eax, [ebp + 0xc]
push eax
mov eax, dword [esp + 0x48]
call fcn.004a22f0
mov eax, dword [ebp + 0x14]
sub eax, ebx
je 0x4eee6c
sub eax, 1
je 0x4eedd5
sub eax, 1
je 0x4eed95
lea ecx, [esp + 0x88]
call fcn.004efeb0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4eecd4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4eeed7
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x10], ebx
jmp 0x4eeed7
cmp edi, 1
jne 0x4eed15
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov dword [ecx], 0x8000001a
lea ecx, [esp + 0x88]
mov dword [eax], ebx
call fcn.004efeb0
jmp 0x4eebac
cmp dword [0x100ef594], ebx
je 0x4eed76
lea esi, [esp + 0x1ac]
call fcn.00537210
mov esi, eax
push 0x100d5208
call fcn.0052f5f0
push 0x100d4fd8
call fcn.0052f5f0
push edi
lea ebx, [esp + 0x224]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x1ac]
call fcn.00537250
mov esi, ebx
call fcn.00490320
xor ebx, ebx
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x88]
mov dword [eax], ebx
call fcn.004efeb0
jmp 0x4eebac
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
mov eax, dword [ebp + 0x24]
mov esi, dword [esp + 0xa0]
push ecx
mov ecx, dword [ebp + 0x20]
mov dword [eax], ebx
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x1c]
call fcn.004f5630
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
lea ecx, [esp + 0x88]
call fcn.004efeb0
jmp 0x4eebac
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [eax], ebx
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x18]
push eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x170], ecx
mov ecx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x178], edx
mov edx, dword [esp + 0xa8]
push edx
push eax
push ecx
lea edx, [esp + 0x180]
push edx
call fcn.004f5500
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
lea ecx, [esp + 0x88]
call fcn.004efeb0
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x4eee4d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4eee61
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
jmp 0x4ee97f
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [eax], ebx
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x17c], ecx
mov ecx, dword [esp + 0x94]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x20]
lea edi, [esp + 0x184]
mov dword [esp + 0x188], edx
call fcn.004f5470
mov edx, dword [ebp + 0x28]
lea ecx, [esp + 0x88]
mov dword [edx], eax
call fcn.004efeb0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4eebc0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4eebbc
xor ebx, ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4eeeeb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], ebx
push 4
lea eax, [esp + 0xb0]
push eax
mov dword [esp + 0xb0], ebx
mov word [esp + 0xac], bx
mov word [esp + 0xae], bx
call dword [0x100ef7e8]
push 4
lea ecx, [esp + 0xc0]
push ecx
call dword [0x100ef7e8]
push 0x100cf494
lea edx, [esp + 0x110]
push edx
call dword [0x100ef7e0]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0xf8], eax
lea edx, [esp + 0xa4]
lea ecx, [esp + 0x10c]
push edx
lea eax, [esp + 0xf8]
mov dword [esp + 0x100], ecx
push eax
xor eax, eax
mov ecx, edi
mov dword [esp + 0xfc], 0x18
mov dword [esp + 0x108], 0x40
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
call fcn.004e6b00
test eax, eax
je 0x4ef73a
jmp 0x4eefa0
mov esi, dword [esp + 0xb8]
push 0x100cf494
lea ecx, [esp + 0x284]
push ecx
call dword [0x100ef7e0]
lea edx, [esp + 0x1e8]
push edx
lea edx, [esp + 0xb4]
call fcn.004fb510
cmp eax, ebx
mov dword [esp + 0xb8], esi
mov esi, dword [esp + 0xac]
jne 0x4ef7a9
cmp esi, ebx
mov dword [esp + 0x28], esi
je 0x4eeff4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
push 4
lea edx, [esp + 0x18]
push edx
call dword [0x100ef7e8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [ebp + 0xc]
lea eax, [edi + 0xdc]
push edx
mov dword [esp + 0x44], eax
call fcn.004f9530
test eax, eax
jne 0x4ef5cc
jmp 0x4ef034
mov esi, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xe8]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
call fcn.004ee130
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
push edx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
mov ecx, dword [ebp + 0x14]
push eax
push ecx
lea edx, [esp + 0xdc]
push edx
call fcn.004e37f0
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, ebx
je 0x4ef09a
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x14], ebx
mov edi, dword [edi]
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x4ef0ac
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0xcc]
cmp eax, ebx
je 0x4ef0c6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0xcc], ebx
push 4
lea ecx, [esp + 0x28]
push ecx
call dword [0x100ef7e8]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
mov edi, eax
cmp edi, ebx
jne 0x4ef80e
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push 4
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x3c], ebx
mov word [esp + 0x38], bx
mov word [esp + 0x3a], bx
call dword [0x100ef7e8]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push eax
call edx
mov edi, eax
cmp edi, ebx
jne 0x4ef421
cmp dword [esp + 0x130], ebx
jne 0x4ef390
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test eax, eax
jne 0x4ef160
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
test eax, eax
je 0x4ef16f
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004a5600
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
test eax, eax
je 0x4ef295
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jne 0x4ef295
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x2c]
push eax
call edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0xd0]
push edx
mov dword [esp + 0x120], ebx
mov word [esp + 0x11c], bx
mov word [esp + 0x11e], bx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebx
call eax
mov edi, eax
cmp edi, ebx
jne 0x4ef8af
cmp dword [ebp + 0x14], ebx
mov ecx, dword [esp + 0x2c]
je 0x4ef338
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x5c]
push eax
call edx
mov edi, eax
cmp edi, ebx
jne 0x4ef955
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0xd0]
push edx
push eax
lea eax, [esp + 0x15c]
lea edi, [esp + 0x11c]
mov dword [esp + 0x160], ecx
call fcn.004ff860
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4ef263
call fcn.00472510
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
xor ebx, ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x114]
call fcn.004e3890
lea ecx, [esp + 0x114]
call fcn.004efeb0
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4ef295
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4ef2a9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x4ef0f3
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x28c]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x2a4], bl
je 0x4ef0f3
mov esi, dword [esp + 0x2a0]
mov ecx, dword [esi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [esi + 0x10]
cmp dword [ecx], ebx
lea eax, [esi + 0x10]
jne 0x4ef0f3
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x4ef0f3
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
jmp 0x4ef0f3
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x134]
push eax
call edx
mov edi, eax
cmp edi, ebx
jne 0x4ef9d4
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xd0]
mov edi, dword [esp + 0x134]
push ecx
push edx
lea esi, [esp + 0x120]
mov dword [esp + 0x48], eax
call fcn.005055f0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], edi
jmp 0x4ef265
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4ef3a4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x4ef3e6
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x2ec]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x304], bl
je 0x4ef3e6
mov esi, dword [esp + 0x300]
call fcn.005154d0
lea ecx, [esp + 0x50]
push ecx
call fcn.004a5730
lea edx, [esp + 0x50]
push edx
call fcn.004a5730
lea eax, [esp + 0x50]
push eax
call fcn.004cd0f0
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4ef030
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], ebx
jmp 0x4ef030
cmp edi, 1
jne 0x4efbcb
lea esi, [esp + 0x20]
call fcn.004c5d90
lea eax, [esp + 0x30]
call fcn.00505660
mov dword [esp + 0x64], 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x4c], esi
jae 0x4ef47e
mov eax, dword [esp + 0x48]
call fcn.00472510
cmp esi, ebx
jne 0x4ef471
mov dword [esp + 0x48], ebx
jmp 0x4ef47e
push esi
call fcn.0053b370
add esp, 4
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x64]
mov ecx, dword [0x100ef48c]
lea eax, [esp + 0x184]
push eax
mov eax, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [ebp + 0xc]
push ebx
add ecx, 0x7f0
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x64], esi
call eax
call eax
mov edi, eax
cmp edi, ebx
je 0x4ef4da
cmp edi, 0xc0000023
je 0x4ef4cd
cmp edi, 0x80000005
jne 0x4ef579
add dword [esp + 0x64], 0x100
jmp 0x4ef454
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 8]
add ecx, 0xc
shr eax, 1
push ecx
lea esi, [esp + 0x160]
call fcn.005054e0
lea ecx, [esp + 0x50]
push ecx
mov eax, esi
call fcn.004a44c0
test eax, eax
jne 0x4ef532
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x1c]
cmp dword [ecx + 0x20], eax
lea esi, [ecx + 0x20]
mov edi, ecx
jne 0x4ef521
add eax, 0x100
add ecx, 0x18
call fcn.004f90c0
mov eax, dword [esi]
mov ecx, dword [edi + 0x18]
lea edx, [eax + 1]
mov dword [esi], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + eax*4], edx
mov esi, dword [esp + 0x160]
cmp esi, ebx
je 0x4ef589
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x2cc]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x2e4], bl
je 0x4ef589
mov esi, dword [esp + 0x2e0]
call fcn.005154d0
jmp 0x4ef589
cmp edi, 0x8000001a
jne 0x4efa4a
mov dword [esp + 0x40], ebx
add dword [esp + 0x38], 1
cmp dword [esp + 0x40], ebx
jne 0x4ef454
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.004a22f0
lea esi, [esp + 0x48]
call fcn.00472330
lea esi, [esp + 0x50]
call fcn.004a44a0
lea esi, [esp + 0x24]
call fcn.004c5d90
mov esi, dword [esp + 0x28]
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + 0x24]
jle 0x4ef61d
mov eax, dword [esp + 0x3c]
lea edx, [ebp + 0xc]
push edx
call fcn.004f96e0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4ef607
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
lea eax, [esp + 0xa4]
call fcn.004e4310
jmp 0x4ef693
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xe0]
push edx
push edi
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
call fcn.004ee130
test eax, eax
mov edx, dword [esp + 0x14]
je 0x4efc41
mov ecx, dword [esp + 0xe0]
cmp ecx, dword [edx + 0x28]
mov edi, dword [esp + 0xe4]
lea eax, [edx + 0x28]
jne 0x4ef667
cmp edi, dword [eax + 4]
je 0x4efc41
mov dword [eax], ecx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
lea eax, [esp + 0xa4]
call fcn.004e4310
mov edi, dword [ebp + 8]
push 4
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0xb0], ebx
mov word [esp + 0xac], bx
mov word [esp + 0xae], bx
call dword [0x100ef7e8]
push 4
lea eax, [esp + 0xc0]
push eax
call dword [0x100ef7e8]
push 0x100cf494
lea ecx, [esp + 0x110]
push ecx
call dword [0x100ef7e0]
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0xa4]
mov dword [esp + 0xf8], edx
lea eax, [esp + 0x10c]
push ecx
lea edx, [esp + 0xf8]
mov dword [esp + 0x100], eax
push edx
xor eax, eax
mov ecx, edi
mov dword [esp + 0xfc], 0x18
mov dword [esp + 0x108], 0x40
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
call fcn.004e6b00
test eax, eax
jne 0x4eefa0
cmp dword [0x100ef594], ebx
je 0x4ef78b
mov eax, 0x100
xor ecx, ecx
mov dword [esp + 0x150], 0xff
call fcn.0053b3c0
push 0x100d5208
lea esi, [esp + 0x14c]
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], ebx
mov byte [eax], bl
call fcn.0052f5f0
push 0x100d4d80
call fcn.0052f5f0
mov eax, esi
call fcn.00537250
mov eax, dword [ebp + 0x24]
mov dword [eax], 1
lea eax, [esp + 0xa4]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp esi, ebx
je 0x4ef7b5
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
cmp edi, 1
jne 0x4ef7f0
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov dword [eax], 0xc0000034
lea eax, [esp + 0xa4]
mov dword [edx], ebx
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ecx, dword [ebp + 0x24]
lea eax, [esp + 0xa4]
mov dword [ecx], 1
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp dword [0x100ef594], ebx
je 0x4ef86f
lea esi, [esp + 0x1c4]
call fcn.00537210
mov esi, eax
push 0x100d5208
call fcn.0052f5f0
push 0x100d5288
call fcn.0052f5f0
push edi
lea ebx, [esp + 0x254]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x1c4]
call fcn.00537250
mov esi, ebx
call fcn.00490320
xor ebx, ebx
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
and edi, 0xefffffff
mov dword [edx], ebx
mov dword [eax], edi
lea esi, [esp + 0x24]
call fcn.004c5d90
lea esi, [esp + 0x14]
call fcn.004f91d0
lea esi, [esp + 0x28]
call fcn.004c5d90
lea eax, [esp + 0xa4]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp dword [0x100ef594], ebx
je 0x4ef910
lea esi, [esp + 0x1dc]
call fcn.00537210
mov esi, eax
push 0x100d5208
call fcn.0052f5f0
push 0x100d52b0
call fcn.0052f5f0
push edi
lea ebx, [esp + 0x274]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x1dc]
call fcn.00537250
mov esi, ebx
call fcn.00490320
xor ebx, ebx
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and edi, 0xefffffff
mov dword [ecx], ebx
mov dword [edx], edi
lea ecx, [esp + 0x114]
call fcn.004efeb0
lea esi, [esp + 0x2c]
call fcn.004c5d90
lea esi, [esp + 0x20]
call fcn.004c5d90
lea eax, [esp + 0x30]
call fcn.00505660
lea esi, [esp + 0x50]
call fcn.004a44a0
jmp 0x4ef87f
cmp dword [0x100ef594], ebx
je 0x4ef9b6
lea esi, [esp + 0x1a0]
call fcn.00537210
mov esi, eax
push 0x100d5208
call fcn.0052f5f0
push 0x100d52e4
call fcn.0052f5f0
push edi
lea ebx, [esp + 0x214]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x1a0]
call fcn.00537250
mov esi, ebx
call fcn.00490320
xor ebx, ebx
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and edi, 0xefffffff
lea esi, [esp + 0x5c]
mov dword [eax], ebx
mov dword [ecx], edi
call fcn.00472330
jmp 0x4ef920
cmp dword [0x100ef594], ebx
je 0x4efa35
lea esi, [esp + 0x1d0]
call fcn.00537210
mov esi, eax
push 0x100d5208
call fcn.0052f5f0
push 0x100d5318
call fcn.0052f5f0
push edi
lea ebx, [esp + 0x244]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x1d0]
call fcn.00537250
mov esi, ebx
call fcn.00490320
xor ebx, ebx
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
and edi, 0xefffffff
mov dword [edx], ebx
mov dword [eax], edi
jmp 0x4ef920
cmp dword [0x100ef594], ebx
je 0x4efb10
mov eax, 0x100
xor ecx, ecx
mov dword [esp + 0xdc], 0xff
call fcn.0053b3c0
push 0x100d5208
lea esi, [esp + 0xd8]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ebx
mov byte [eax], bl
call fcn.0052f5f0
push 0x100d5380
call fcn.0052f5f0
push edi
lea ecx, [esp + 0x234]
push ecx
call fcn.005374b0
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x138]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x138]
push eax
call fcn.0052f5f0
mov eax, dword [esp + 0x138]
cmp eax, ebx
je 0x4efae8
call fcn.00472510
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x140], ebx
push 0x100d1420
lea esi, [esp + 0xd8]
call fcn.0052f5f0
mov eax, esi
call fcn.00537250
mov eax, dword [esp + 0x234]
cmp eax, ebx
je 0x4efb10
call fcn.00472510
mov esi, dword [esp + 0x48]
cmp esi, ebx
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], ebx
mov dword [edx], edi
je 0x4efb5c
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x2ac]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x2c4], bl
je 0x4efb5c
mov esi, dword [esp + 0x2c0]
call fcn.005154d0
lea ecx, [esp + 0x50]
push ecx
call fcn.004a5730
lea edx, [esp + 0x50]
push edx
call fcn.004a5730
lea eax, [esp + 0x50]
push eax
call fcn.004cd0f0
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4efb8e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4efba2
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4efe6c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xa4]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp dword [0x100ef594], ebx
je 0x4efc2c
lea esi, [esp + 0x1b8]
call fcn.00537210
mov esi, eax
push 0x100d5208
call fcn.0052f5f0
push 0x100d5354
call fcn.0052f5f0
push edi
lea ebx, [esp + 0x264]
call fcn.0051ac00
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x1b8]
call fcn.00537250
mov esi, ebx
call fcn.00490320
xor ebx, ebx
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and edi, 0xefffffff
mov dword [eax], ebx
mov dword [ecx], edi
jmp 0x4ef935
mov ecx, dword [edx + 0x14]
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jae 0x4efe06
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 0xc]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0x14]
sub ecx, ebx
je 0x4efd95
sub ecx, 1
je 0x4efd16
sub ecx, 1
je 0x4efcb6
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [ecx], ebx
mov ecx, dword [edx]
push edx
mov edx, dword [ecx + 0xc]
mov dword [eax], 0xc000000d
call edx
cmp esi, ebx
mov dword [esp + 0x14], ebx
je 0x4efe6c
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
lea eax, [esp + 0xa4]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
mov dword [edx], ebx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
call fcn.004f5630
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4efced
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4efe6c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xa4]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ecx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x20]
mov edx, dword [eax + 4]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ecx], ebx
mov ecx, dword [eax + 8]
mov ebx, dword [ebp + 0x18]
push edi
mov dword [esp + 0x180], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x17c], edx
mov edx, dword [eax + 0x14]
push ecx
push edx
mov edx, dword [eax + 0xc]
push edx
lea eax, [esp + 0x188]
push eax
call fcn.004f5500
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4efd70
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x14], 0
test esi, esi
je 0x4efe6c
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
lea eax, [esp + 0xa4]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], ebx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x164], edx
mov edx, dword [ebp + 0x18]
push edx
mov dword [esp + 0x16c], ecx
mov ecx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
lea edi, [esp + 0x16c]
call fcn.004f5470
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4efde1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x14], ebx
cmp esi, ebx
je 0x4efe6c
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
lea eax, [esp + 0xa4]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
sub eax, ecx
cmp eax, dword [edx + 0x20]
jae 0x4efe46
mov edx, dword [edx + 0x18]
mov ecx, dword [ebp + 0x24]
lea eax, [edx + eax*4]
mov edx, dword [ebp + 0x20]
mov eax, dword [eax]
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
mov dword [ecx], ebx
mov ecx, dword [0x100ef48c]
push edx
mov edx, dword [ebp + 0xc]
add ecx, 0x7f0
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
jmp 0x4efdc8
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], ebx
mov eax, dword [edx]
mov dword [ecx], 0x8000001a
mov ecx, dword [eax + 0xc]
push edx
call ecx
cmp esi, ebx
mov dword [esp + 0x14], ebx
je 0x4efe6c
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
lea eax, [esp + 0xa4]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24