Function at 0x4eb860
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5ed42d
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x18c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x184], ebx
mov eax, dword [ebp + 0xbc]
push eax
lea esi, [esp + 0x1c]
call fcn.004ef830
mov edi, dword [esp + 0xd4]
xor ecx, ecx
mov esi, ecx
lea ecx, [ebp + 0xb4]
mov ebp, dword [esp + 0xac]
mov eax, fcn.0053cce0
mov edx, eax
mov eax, dword [ecx + 4]
mov eax, dword [eax]
sub esp, 0x18
mov dword [esp + 0xb4], eax
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0xc8]
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov edx, dword [esp + 0xf0]
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0xb4]
lea eax, [esp + 0x30]
push eax
xor eax, eax
push eax
mov eax, dword [ecx + 4]
push eax
push ecx
push edx
push ecx
lea esi, [esp + 0xc8]
call fcn.004f5860
xor ecx, ecx
mov eax, fcn.005387c0
mov edx, fcn.005387c0
mov esi, 0x4000
mov edi, ebx
mov ebp, esi
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xe0], edi
mov dword [esp + 0xf4], esi
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x50]
mov ecx, 8
lea esi, [esp + 0xdc]
lea edi, [esp + 0x184]
mov dword [esp + 0xe8], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x4c]
add esp, 0x30
cmp ecx, eax
mov ebp, eax
jbe 0x4eb9b8
call fcn.005b8b18
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
mov dword [esp + 0x38], ecx
jbe 0x4eb9c5
call fcn.005b8b18
mov eax, dword [esp + 0x38]
sub esp, 0x28
mov edi, esp
mov ecx, 0xa
lea esi, [esp + 0x174]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
sub ecx, eax
sar ecx, 2
push ecx
push ebp
push eax
call fcn.004f89e0
add esp, 0x34
call fcn.0051a4d0
mov dword [esp + 0x70], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x70]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x70]
mov dword [eax], eax
mov eax, dword [esp + 0x70]
mov dword [eax + 8], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea esi, [esp + 0x4c]
mov byte [esp + 0x184], 6
call fcn.004b28c0
mov eax, dword [esp + 0x18c]
mov esi, dword [eax + 0x338]
mov edx, dword [eax + 0x33c]
add eax, 0x32c
add edx, esi
cmp esi, edx
jbe 0x4eba9b
call fcn.005b8b18
mov ecx, dword [esp + 0x18c]
mov eax, dword [ecx + 0x338]
mov edi, dword [ecx + 0x33c]
add ecx, 0x32c
add edi, eax
cmp eax, edi
mov dword [esp + 0x68], esi
mov dword [esp + 0xa0], edi
jbe 0x4ebad0
call fcn.005b8b18
lea ebx, [ebx]
mov ebp, dword [esp + 0x18c]
add ebp, 0x32c
cmp ebp, ebp
je 0x4ebae6
call fcn.005b8b18
cmp esi, edi
je 0x4ec436
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4ec436
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 2
je 0x4ec436
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add edx, edi
cmp edi, edx
jbe 0x4ebb1a
call fcn.005b8b18
cmp ebp, ebp
je 0x4ebb23
call fcn.005b8b18
cmp esi, edi
je 0x4ebbb2
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x68]
cmp esi, eax
jb 0x4ebb3e
call fcn.005b8b18
mov eax, dword [ebp + 8]
cmp eax, esi
ja 0x4ebb47
sub esi, eax
mov eax, dword [esp + 0x18c]
mov ecx, dword [ebp + 4]
mov edx, dword [eax + 0x4d4]
mov edi, dword [ecx + esi*4]
mov eax, dword [eax + 0x4d0]
lea ecx, [eax + edx*4 + 0x3e8]
push ebx
push ecx
lea esi, [esp + 0x11c]
call fcn.00489600
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
lea eax, [esp + 0xfc]
call fcn.00493d30
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edi + 0x14]
add esp, 0x18
cmp edx, eax
ja 0x4ec436
jb 0x4ebbb2
mov eax, dword [edi + 0x10]
cmp eax, ecx
ja 0x4ec436
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x68]
add ecx, dword [ebp + 0xc]
mov word [esp + 0xb8], bx
cmp eax, ecx
mov word [esp + 0xba], bx
mov word [esp + 0xbc], bx
mov esi, eax
jb 0x4ebbe1
call fcn.005b8b18
mov eax, esi
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x4ebbec
mov esi, eax
sub esi, ecx
mov edx, dword [ebp + 4]
mov eax, dword [edx + esi*4]
mov edi, dword [esp + 0x18c]
mov ecx, dword [edi + 0x318]
mov eax, dword [eax + 0x20]
lea ebx, [esp + 0xac]
call fcn.00550f20
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x68]
add ecx, dword [ebp + 0xc]
mov esi, ebx
cmp ebx, ecx
jb 0x4ebc23
call fcn.005b8b18
mov eax, dword [ebp + 8]
cmp eax, ebx
ja 0x4ebc2c
sub esi, eax
mov ecx, dword [edi + 0x318]
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x4ebc3d
xor eax, eax
jmp 0x4ebc45
mov eax, dword [ecx + 0x2c]
sub eax, edx
sar eax, 3
mov edx, dword [ebp + 4]
mov edx, dword [edx + esi*4]
mov edx, dword [edx + 0x20]
add edx, 1
cmp edx, eax
jne 0x4ebc5a
mov eax, dword [ecx + 0x58]
jmp 0x4ebc5d
mov eax, dword [ecx + 0x54]
mov cx, word [esp + 0xbc]
movsx edx, cx
sub eax, edx
movsx edx, word [esp + 0xba]
sub eax, edx
movsx edx, word [esp + 0xb8]
sub eax, edx
jne 0x4ebcfe
test cx, cx
je 0x4ec434
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
mov esi, ebx
cmp ebx, eax
jb 0x4ebc9a
call fcn.005b8b18
mov eax, dword [ebp + 8]
cmp eax, ebx
ja 0x4ebca3
sub esi, eax
mov edx, dword [esp + 0x18c]
mov ecx, dword [ebp + 4]
mov eax, dword [edx + 0x4d0]
mov edi, dword [ecx + esi*4]
push 0
push eax
lea esi, [esp + 0xf4]
call fcn.00489600
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [edi + 0xc]
push ecx
mov ecx, dword [edi + 8]
push edx
push eax
push ecx
lea eax, [esp + 0x114]
call fcn.00493d30
mov edx, dword [esp + 0x68]
mov ecx, dword [eax]
add esp, 0x18
cmp dword [eax + 4], edx
ja 0x4ec434
jb 0x4ebcfe
cmp ecx, dword [esp + 0x4c]
ja 0x4ec434
mov edi, dword [esp + 0x18c]
mov eax, dword [edi + 0x33c]
add eax, dword [edi + 0x338]
mov esi, dword [esp + 0x68]
add edi, 0x32c
cmp esi, eax
jb 0x4ebd24
call fcn.005b8b18
mov eax, dword [edi + 8]
cmp eax, esi
ja 0x4ebd2d
sub esi, eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx + esi*4]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x1c], edi
mov eax, dword [edx + 0x20]
mov dword [esp + 0x38], eax
jbe 0x4ebd49
call fcn.005b8b18
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x20]
jbe 0x4ebd58
call fcn.005b8b18
cmp esi, edi
lea eax, [esp + 0x18]
mov ebp, eax
mov ebx, esi
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
mov dword [esp + 0x54], ebx
je 0x4ebd91
mov edx, dword [esp + 0x38]
mov ecx, dword [ebx]
push edx
call fcn.00538740
test al, al
jne 0x4ebd91
add ebx, 4
cmp ebx, edi
mov dword [esp + 0x54], ebx
jne 0x4ebd76
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x1c], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebx
jbe 0x4ebda8
call fcn.005b8b18
test ebp, ebp
je 0x4ebdb4
lea eax, [esp + 0x18]
cmp ebp, eax
je 0x4ebdb9
call fcn.005b8b18
cmp ebx, esi
je 0x4ec0b0
test ebp, ebp
jne 0x4ebdca
call fcn.005b8b18
cmp ebx, dword [ebp + 8]
jb 0x4ebdd4
call fcn.005b8b18
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x2c], ebx
mov ebp, dword [ecx]
mov dword [esp + 0x38], ebp
jbe 0x4ebded
call fcn.005b8b18
mov edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x30]
lea esi, [esp + 0x28]
jbe 0x4ebe00
call fcn.005b8b18
push ebx
push esi
lea eax, [esp + 0x30]
push edi
push eax
lea edx, [esp + 0x11c]
push edx
mov ebx, eax
call fcn.004f1270
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
cmp ecx, eax
mov ebx, eax
jbe 0x4ebe38
call fcn.005b8b18
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
cmp ecx, eax
lea esi, [esp + 0x78]
mov edi, ecx
jbe 0x4ebe47
call fcn.005b8b18
push ebx
push esi
push edi
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x12c]
push eax
lea ebx, [esp + 0x8c]
call fcn.004f1270
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
cmp ecx, eax
mov ebx, eax
jbe 0x4ebe8d
call fcn.005b8b18
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
cmp ecx, eax
lea esi, [esp + 0x88]
mov edi, ecx
jbe 0x4ebe9f
call fcn.005b8b18
push ebx
push esi
lea eax, [esp + 0x90]
push edi
push eax
lea ecx, [esp + 0x154]
push ecx
mov ebx, eax
call fcn.004f1270
mov ebx, dword [esp + 0x18c]
mov edx, dword [ebx + 0x33c]
add edx, dword [ebx + 0x338]
mov esi, dword [esp + 0x68]
mov edi, dword [ebp + 0x31c]
add ebx, 0x32c
cmp esi, edx
jb 0x4ebee5
call fcn.005b8b18
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
ja 0x4ebef4
mov esi, ecx
sub esi, eax
push 0
push 0
push edi
push 0
push 1
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x44]
push edx
mov edx, dword [ecx + esi*4]
lea eax, [ebp + 0x254]
push eax
mov eax, dword [esp + 0x1b0]
mov ecx, dword [eax + 0x318]
push ecx
mov ecx, dword [edx + 0x20]
lea eax, [esp + 0xf4]
call fcn.00553ca0
mov eax, dword [esp + 0x2c]
test eax, eax
lea ebx, [ebp + 0x270]
mov dword [esp + 0xe0], ebx
lea edi, [ebp + 0x280]
je 0x4ec0b0
mov edx, dword [esp + 0x30]
sub edx, eax
sar edx, 2
je 0x4ec098
mov ecx, dword [edi + 8]
cmp dword [edi + 4], ecx
mov dword [esp + 0x14], ecx
jbe 0x4ebf7f
call fcn.005b8b18
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
mov esi, eax
mov dword [esp + 0xdc], esi
jbe 0x4ebf93
call fcn.005b8b18
cmp esi, dword [esp + 0x30]
jb 0x4ebf9e
call fcn.005b8b18
mov ebp, dword [edi + 8]
cmp dword [edi + 4], ebp
jbe 0x4ebfab
call fcn.005b8b18
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x4ebfb8
call fcn.005b8b18
cmp esi, ebp
mov dword [esp + 0xa8], esi
je 0x4ebff9
mov eax, dword [esp + 0xdc]
mov edx, dword [eax]
mov ecx, edx
and ecx, 0x7ffff
mov eax, dword [esi]
mov ebx, eax
and ebx, 0x7ffff
cmp ebx, ecx
jne 0x4ebfeb
xor eax, edx
test eax, 0xfff80000
je 0x4ebff2
add esi, 8
cmp esi, ebp
jne 0x4ebfd4
mov ebx, dword [esp + 0xe0]
mov eax, edi
test eax, eax
je 0x4ec003
cmp eax, edi
je 0x4ec008
call fcn.005b8b18
cmp esi, dword [esp + 0x14]
je 0x4ec185
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x98]
cmp ebx, dword [ecx + 8]
jb 0x4ec027
call fcn.005b8b18
mov esi, dword [esp + 0x40]
test esi, esi
mov edx, dword [esp + 0x44]
je 0x4ec054
mov ecx, dword [esp + 0x48]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x4ec054
mov eax, dword [ebx]
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x44], edx
jmp 0x4ec073
cmp esi, edx
mov edi, edx
jbe 0x4ec05f
call fcn.005b8b18
push edi
lea eax, [esp + 0x40]
push eax
push ebx
lea ecx, [esp + 0x148]
push ecx
call fcn.004f0fd0
mov eax, dword [esp + 0x20]
lea ecx, [ebx + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x4ec093
add eax, eax
add eax, eax
push eax
push ecx
push eax
push ebx
call fcn.005b85b9
add esp, 0x10
sub dword [esp + 0x20], 4
cmp dword [esp + 0x2c], 0
je 0x4ec0b0
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 2
jne 0x4ebcfe
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
cmp ebp, eax
mov dword [esp + 0x14], eax
jbe 0x4ec0c9
call fcn.005b8b18
mov ebp, dword [esp + 0x40]
cmp ebp, dword [esp + 0x44]
lea ebx, [esp + 0x3c]
jbe 0x4ec0d8
call fcn.005b8b18
mov edi, dword [esp + 0x1c]
cmp edi, dword [esp + 0x20]
lea esi, [esp + 0x3c]
jbe 0x4ec0eb
call fcn.005b8b18
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xa0]
push ecx
push ebx
push ebp
push esi
lea eax, [esp + 0x28]
push edi
push eax
push edx
mov esi, eax
call fcn.004f8b60
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
mov esi, eax
jbe 0x4ec123
call fcn.005b8b18
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
lea edi, [esp + 0x3c]
mov ebx, ecx
jbe 0x4ec132
call fcn.005b8b18
push esi
push edi
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x114]
push eax
lea ebx, [esp + 0x50]
call fcn.00410280
mov eax, dword [esp + 0x18c]
mov ecx, dword [eax + 0x33c]
add ecx, dword [eax + 0x338]
add eax, 0x32c
cmp dword [esp + 0x68], ecx
jb 0x4ec16e
call fcn.005b8b18
add dword [esp + 0x68], 1
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xa0]
xor ebx, ebx
jmp 0x4ebad0
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
mov dword [esp + 0x14], eax
jbe 0x4ec196
call fcn.005b8b18
mov ebp, dword [esp + 0x2c]
cmp ebp, dword [esp + 0x30]
jbe 0x4ec1a9
call fcn.005b8b18
cmp ebp, dword [esp + 0x30]
jb 0x4ec1b0
call fcn.005b8b18
mov edi, dword [ebx + 8]
cmp dword [ebx + 4], edi
jbe 0x4ec1bd
call fcn.005b8b18
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x4ec1ca
call fcn.005b8b18
push ebp
mov eax, esi
mov dword [esp + 0xac], esi
call fcn.004f8b20
add esp, 4
test ebx, ebx
mov esi, eax
je 0x4ec1e6
cmp ebx, ebx
je 0x4ec1eb
call fcn.005b8b18
mov eax, dword [esp + 0x2c]
cmp esi, dword [esp + 0x14]
mov esi, eax
je 0x4ec3e4
cmp eax, dword [esp + 0x30]
jbe 0x4ec206
call fcn.005b8b18
cmp esi, dword [esp + 0x30]
jb 0x4ec211
call fcn.005b8b18
mov ebp, dword [esp + 0x38]
push esi
push ebp
call fcn.0053cdd0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x70]
push ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x140]
push ecx
lea eax, [esp + 0x7c]
mov dword [esp + 0x24], ebp
call fcn.004eec60
mov edi, dword [esp + 0x18c]
mov edx, dword [edi + 0x33c]
mov ebx, dword [esp + 0x68]
add edx, dword [edi + 0x338]
add edi, 0x32c
cmp ebx, edx
mov esi, ebx
jb 0x4ec26a
call fcn.005b8b18
mov eax, dword [edi + 8]
cmp eax, ebx
ja 0x4ec273
sub esi, eax
mov eax, dword [edi + 4]
mov esi, dword [eax + esi*4]
lea eax, [esp + 0x12c]
call fcn.004b27c0
mov ecx, dword [eax]
mov edx, dword [esi]
cmp edx, ecx
mov eax, dword [eax + 4]
jne 0x4ec2c4
mov ecx, dword [esi + 4]
cmp ecx, eax
jne 0x4ec2c4
mov edx, dword [edi + 0x10]
add edx, dword [edi + 0xc]
mov esi, ebx
cmp ebx, edx
jb 0x4ec2a8
call fcn.005b8b18
mov eax, dword [edi + 8]
cmp eax, ebx
ja 0x4ec2b1
sub esi, eax
mov eax, dword [edi + 4]
mov esi, dword [eax + esi*4]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov ecx, ebp
call fcn.0053cce0
test al, al
je 0x4ec40f
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x58]
mov esi, ecx
jbe 0x4ec2f0
call fcn.005b8b18
mov ecx, dword [esp + 0x20]
lea eax, [esi - 4]
cmp eax, ecx
lea edi, [esp + 0x18]
mov dword [esp + 0xa8], esi
ja 0x4ec308
cmp eax, dword [esp + 0x1c]
jae 0x4ec30d
call fcn.005b8b18
add esi, 0xfffffffc
cmp ebx, edi
je 0x4ec319
call fcn.005b8b18
cmp ebp, esi
je 0x4ec098
lea esi, [ebp + 4]
cmp esi, dword [ebx + 8]
mov edi, ebx
mov dword [esp + 0xa8], ebp
ja 0x4ec337
cmp esi, dword [ebx + 4]
jae 0x4ec33c
call fcn.005b8b18
cmp esi, dword [edi + 8]
jb 0x4ec346
call fcn.005b8b18
cmp ebp, dword [ebx + 8]
jb 0x4ec350
call fcn.005b8b18
mov ecx, dword [esi]
push 0
lea eax, [esp + 0xf8]
push eax
call fcn.005387c0
mov ebx, dword [eax]
mov edi, dword [eax + 4]
push 0
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [ebp]
call fcn.005387c0
cmp dword [eax + 4], edi
mov ecx, dword [eax]
jl 0x4ec098
jg 0x4ec38d
cmp ecx, ebx
jbe 0x4ec098
mov ecx, dword [esp + 0x58]
cmp esi, dword [ecx + 8]
mov edi, ecx
mov dword [esp + 0xa8], ebp
ja 0x4ec3a4
cmp esi, dword [ecx + 4]
jae 0x4ec3ad
call fcn.005b8b18
mov ecx, dword [esp + 0x58]
cmp esi, dword [edi + 8]
jb 0x4ec3bb
call fcn.005b8b18
mov ecx, dword [esp + 0x58]
cmp ebp, dword [ecx + 8]
jb 0x4ec3c9
call fcn.005b8b18
mov ecx, dword [esp + 0x58]
mov edx, dword [esi]
mov eax, dword [ebp]
mov dword [ebp], edx
mov dword [esi], eax
cmp ebp, dword [ecx + 8]
jb 0x4ec3dd
call fcn.005b8b18
mov ebp, esi
jmp 0x4ec2d7
cmp eax, dword [esp + 0x30]
jbe 0x4ec3ef
call fcn.005b8b18
cmp esi, dword [esp + 0x30]
jb 0x4ec3fa
call fcn.005b8b18
mov ebp, dword [esp + 0x38]
push 1
push esi
push ebp
call fcn.0053cee0
test al, al
jne 0x4ec21c
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
lea ecx, [edx + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x4ec093
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edx
jmp 0x4ec08b
xor ebx, ebx
mov eax, dword [esp + 0x70]
mov edi, dword [eax]
lea esi, [esp + 0x6c]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
mov ebp, eax
lea ebx, [ebx]
cmp esi, ebx
je 0x4ec45c
lea edx, [esp + 0x6c]
cmp esi, edx
je 0x4ec461
call fcn.005b8b18
cmp edi, ebp
je 0x4ec494
cmp esi, ebx
jne 0x4ec46e
call fcn.005b8b18
cmp edi, dword [esi + 4]
jne 0x4ec478
call fcn.005b8b18
mov eax, dword [edi + 0xc]
push eax
call fcn.0053dd90
lea esi, [esp + 0x4c]
call fcn.00519d60
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
jmp 0x4ec450
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4ec4a5
push eax
call fcn.0059b877
add esp, 4
mov eax, dword [esp + 0xd0]
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
je 0x4ec4c5
push eax
call fcn.0059b877
add esp, 4
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x4ec4d9
push eax
call fcn.0059b877
add esp, 4
mov eax, dword [esp + 0x7c]
cmp eax, ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
je 0x4ec4ff
push eax
call fcn.0059b877
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
je 0x4ec522
push eax
call fcn.0059b877
add esp, 4
lea eax, [esp + 0x6c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x184], bl
call fcn.004f07d0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4ec54f
push eax
call fcn.0059b877
add esp, 4
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret 4