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

Disassembly:
push 0xffffffffffffffff
push 0x60ccb2
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x114]
mov ebx, 1
xor esi, esi
push ebx
lea edi, [esp + 0x28]
mov dword [esp + 0x20], esi
call fcn.004cc430
mov dword [esp + 0x10c], esi
cmp dword [ebp + 0x10], ebx
je 0x4ec03a
cmp dword [esp + 0x34], ebx
je 0x4ec036
mov edx, edi
mov eax, ebp
call fcn.004cf320
jmp 0x4ec052
mov eax, ebx
jmp 0x4ec052
cmp dword [esp + 0x34], ebx
je 0x4ec045
or eax, 0xffffffff
jmp 0x4ec052
lea edx, [esp + 0x24]
mov eax, ebp
call fcn.004cf320
neg eax
cmp eax, esi
lea ecx, [esp + 0x24]
setle bl
mov dword [esp + 0x10c], 0xffffffff
call fcn.004ad940
test bl, bl
jne 0x4ec5ce
cmp dword [ebp + 8], esi
jbe 0x4ec081
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
and al, 1
jne 0x4ec0bb
push 2
lea edi, [esp + 0x3c]
call fcn.004cc430
mov edx, edi
mov eax, ebp
mov dword [esp + 0x10c], 1
call fcn.004ad9d0
mov ecx, edi
mov bl, al
mov dword [esp + 0x10c], 0xffffffff
call fcn.004ad940
mov al, bl
jmp 0x4ec5d0
push 3
lea edi, [esp + 0x54]
call fcn.004cc430
push 4
lea edi, [esp + 0x28]
mov dword [esp + 0x110], 2
mov dword [esp + 0x24], esi
call fcn.004cc430
lea esi, [esp + 0x38]
lea eax, [esp + 0x50]
mov byte [esp + 0x10c], 3
call fcn.004bf150
mov ecx, edi
push ecx
lea edx, [esp + 0x7c]
push edx
mov edi, eax
mov byte [esp + 0x114], 4
call fcn.004adb20
push eax
mov ecx, ebp
mov byte [esp + 0x118], 5
call fcn.004ed7f0
mov esi, eax
add esp, 0xc
cmp esi, 1
lea ecx, [esp + 0x78]
sete bl
mov byte [esp + 0x10c], 4
call fcn.004ad940
lea ecx, [esp + 0x38]
mov byte [esp + 0x10c], 3
call fcn.004ad940
lea ecx, [esp + 0x24]
mov byte [esp + 0x10c], 2
call fcn.004ad940
test bl, bl
je 0x4ec220
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, 0x40
jne 0x4ec17f
mov edi, ebp
call fcn.004cf540
test al, al
jne 0x4ec5ba
lea eax, [esp + 0x50]
push eax
call fcn.004ce1d0
lea ecx, [esp + 0x50]
push ecx
call fcn.004ce1d0
push 4
lea edi, [esp + 0x28]
call fcn.004cc430
lea esi, [esp + 0x38]
lea eax, [esp + 0x50]
mov byte [esp + 0x10c], 3
call fcn.004bf150
mov edx, edi
push edx
lea ecx, [esp + 0x7c]
push ecx
mov edi, eax
mov byte [esp + 0x114], 4
call fcn.004adb20
push eax
mov ecx, ebp
mov byte [esp + 0x118], 5
call fcn.004ed7f0
mov esi, eax
add esp, 0xc
cmp esi, 1
lea ecx, [esp + 0x78]
sete bl
mov byte [esp + 0x10c], 4
call fcn.004ad940
lea ecx, [esp + 0x38]
mov byte [esp + 0x10c], 3
call fcn.004ad940
lea ecx, [esp + 0x24]
mov byte [esp + 0x10c], 2
call fcn.004ad940
test bl, bl
jne 0x4ec162
test esi, esi
je 0x4ec5ba
push 1
lea edi, [esp + 0x3c]
call fcn.004cc430
mov edx, edi
push edx
lea eax, [esp + 0x90]
push eax
mov edi, ebp
mov byte [esp + 0x114], 6
call fcn.004adac0
add esp, 8
lea ecx, [esp + 0x38]
mov byte [esp + 0x10c], 8
call fcn.004ad940
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
xor esi, esi
mov eax, esi
shr eax, 5
cmp eax, edi
jae 0x4ec288
mov eax, dword [edx + eax*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
and al, 1
jne 0x4ec28b
inc esi
jmp 0x4ec271
push esi
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x58], esi
call fcn.004bf010
push ebp
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x11c], 9
call fcn.004ed9f0
add esp, 0x10
push 2
lea edi, [esp + 0x7c]
mov byte [esp + 0x110], 0xa
call fcn.004cc430
mov byte [esp + 0x10c], 0xb
mov ebx, 1
mov edx, edi
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], ebx
call fcn.004ad9d0
test al, al
jne 0x4ec353
push 2
lea edi, [esp + 0x3c]
call fcn.004cc430
mov eax, edi
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x110], 0xc
push ecx
mov edi, ebp
mov dword [esp + 0x24], 3
call fcn.004adb20
add esp, 8
mov edx, eax
mov dword [esp + 0x10c], 0xd
mov ebx, 7
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], ebx
call fcn.004ad9d0
mov byte [esp + 0x1b], 0
test al, al
je 0x4ec358
mov byte [esp + 0x1b], 1
mov dword [esp + 0x10c], 0xc
test bl, 4
je 0x4ec378
and ebx, 0xfffffffb
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
call fcn.004ad940
mov dword [esp + 0x10c], 0xb
test bl, 2
je 0x4ec398
and ebx, 0xfffffffd
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
call fcn.004ad940
mov dword [esp + 0x10c], 0xa
test bl, 1
je 0x4ec3b1
lea ecx, [esp + 0x78]
call fcn.004ad940
cmp byte [esp + 0x1b], 0
je 0x4ec40c
lea ecx, [esp + 0x64]
mov byte [esp + 0x10c], 9
call fcn.004ad940
lea ecx, [esp + 0xa0]
mov byte [esp + 0x10c], 8
call fcn.004ad940
lea ecx, [esp + 0x8c]
mov byte [esp + 0x10c], 2
call fcn.004ad940
lea ecx, [esp + 0x50]
mov dword [esp + 0x10c], 0xffffffff
call fcn.004ad940
mov al, 1
jmp 0x4ec5d0
mov dword [esp + 0x20], 1
cmp esi, 1
jbe 0x4ec581
push 2
lea edi, [esp + 0x3c]
call fcn.004cc430
lea esi, [esp + 0xc8]
lea eax, [esp + 0x64]
mov byte [esp + 0x10c], 0xe
call fcn.004bf150
mov edx, edi
push edx
lea ecx, [esp + 0xe0]
push ecx
mov edi, eax
mov byte [esp + 0x114], 0xf
call fcn.004adb20
lea edx, [esp + 0xbc]
push ebp
push edx
mov ecx, eax
mov byte [esp + 0x11c], 0x10
call fcn.004adc40
add esp, 0x10
lea ecx, [esp + 0x64]
push ecx
mov edi, eax
mov byte [esp + 0x110], 0x11
call fcn.004cc780
lea ecx, [esp + 0xb4]
mov byte [esp + 0x10c], 0x10
call fcn.004ad940
lea ecx, [esp + 0xdc]
mov byte [esp + 0x10c], 0xf
call fcn.004ad940
mov ecx, esi
mov byte [esp + 0x10c], 0xe
call fcn.004ad940
lea ecx, [esp + 0x38]
mov byte [esp + 0x10c], 0xa
call fcn.004ad940
push 2
lea edi, [esp + 0x7c]
call fcn.004cc430
mov edx, edi
push edx
lea eax, [esp + 0xf4]
push eax
mov edi, ebp
mov byte [esp + 0x114], 0x12
call fcn.004adb20
add esp, 8
mov edx, eax
lea eax, [esp + 0x64]
mov byte [esp + 0x10c], 0x13
call fcn.004ad9d0
lea ecx, [esp + 0xf0]
mov bl, al
mov byte [esp + 0x10c], 0x12
call fcn.004ad940
lea ecx, [esp + 0x78]
mov byte [esp + 0x10c], 0xa
call fcn.004ad940
test bl, bl
jne 0x4ec3b8
push 2
lea edi, [esp + 0x28]
call fcn.004cc430
mov edx, edi
lea eax, [esp + 0x64]
mov byte [esp + 0x10c], 0x14
call fcn.004ad9d0
mov ecx, edi
mov bl, al
mov byte [esp + 0x10c], 0xa
call fcn.004ad940
test bl, bl
jne 0x4ec581
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x4c]
jb 0x4ec41d
lea ecx, [esp + 0x64]
mov byte [esp + 0x10c], 9
call fcn.004ad940
lea ecx, [esp + 0xa0]
mov byte [esp + 0x10c], 8
call fcn.004ad940
lea ecx, [esp + 0x8c]
mov byte [esp + 0x10c], 2
call fcn.004ad940
lea ecx, [esp + 0x50]
mov dword [esp + 0x10c], 0xffffffff
call fcn.004ad940
xor al, al
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret