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

Disassembly:
mov ecx, dword [0x84873c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e2cf5
sub esp, 0x5c
mov ebx, dword [esp + 0x60]
movzx ebp, byte [ebx + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4e2814
mov edx, ebx
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
jmp 0x4e29e9
mov eax, dword [esp + 0x68]
cmp eax, 3
jl 0x4e2930
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 4]
cmp dword [ecx], 3
xchg ebp, ebx
setne bl
xchg ebp, ebx
test edx, edx
setne dl
or edx, ebp
test dl, dl
jne 0x4e28eb
mov edx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0x14]
test ebp, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
test edx, edx
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, esi
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4e28eb
mov dword [esp + 4], 0
mov dword [esp], 0x3b9aca00
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edx
call fcn.00461ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
mov dword [edx + 0x30], eax
mov dword [edx + 0x2c], ecx
mov byte [edx + 0x28], 1
mov eax, dword [esp + 0x6c]
add eax, 0xfffffffd
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 0x18
mov ebx, dword [esp + 0x64]
add eax, ebx
mov ebx, dword [esp + 0x74]
cmp ebx, 1
jb 0x4e2ce8
mov ebp, dword [esp + 0x78]
dec ebp
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 4
mov esi, edi
mov edi, dword [esp + 0x68]
add edi, 0xfffffffd
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x70]
add ebp, edi
dec ebx
mov edi, dword [esp + 0x3c]
jmp 0x4e29e9
lea eax, [0x68473e]
mov dword [esp], eax
mov dword [esp + 4], 0x11
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004b9b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
lea eax, [0x68472d]
mov dword [esp], eax
mov dword [esp + 4], 0x11
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004b9b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov ebp, dword [esp + 0x60]
lea esi, [ebp + 0x34]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
call fcn.004decb0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x38]
dec ebx
mov ebp, dword [esp + 0x1c]
add ecx, ebp
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x20]
adc edx, ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
mov edi, esi
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
test edi, edi
je 0x4e2c5d
cmp edi, 3
jl 0x4e2c18
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], eax
mov edx, dword [eax]
mov esi, dword [eax + 4]
sar edi, 0x1f
mov ebx, dword [esp + 0x34]
cmp ebx, edx
setb bl
cmp esi, edi
xchg edi, ebx
seta bl
xchg edi, ebx
sete al
and ebx, eax
or ebx, edi
test bl, bl
jne 0x4e2c18
test esi, esi
sete bl
cmp edx, 3
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4e2bd3
test ebp, ebp
je 0x4e2a62
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x4e2bd3
test esi, esi
jmp 0x4e2a70
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x4e2b8e
test esi, esi
jne 0x4e2cdd
cmp ecx, edx
jb 0x4e2cd2
cmp edx, 3
jb 0x4e2cc6
lea esi, [ecx - 3]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 0x18
mov dword [esp + 0x30], esi
mov ebx, dword [esp + 0x58]
lea eax, [ebx + esi]
mov esi, dword [esp + 0x34]
cmp esi, edx
jb 0x4e2cbd
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], edx
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x20], edi
sub ecx, edx
mov dword [esp + 0x28], ecx
neg ecx
shl edx, 3
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x3c]
dec ecx
mov dword [esp + 0x3c], ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
mov eax, dword [esp + 0x2c]
lea edi, [eax - 3]
sub esi, eax
mov dword [esp + 0x24], esi
add edx, ebx
mov dword [esp + 0x54], edx
mov edx, dword [ebp]
mov dword [esp + 0x48], edx
add ecx, ebp
mov dword [esp + 0x50], ecx
mov ebp, dword [esp + 0x20]
test ebp, ebp
sete cl
mov esi, dword [esp + 0x1c]
test esi, esi
sete dl
and ecx, edx
test cl, cl
je 0x4e2b7b
cmp eax, 4
jne 0x4e2b68
lea ecx, [fcn.004df6c0]
inc ecx
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + edx]
mov edi, dword [ebx + edx + 4]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0
mov ecx, 1
mov edx, 1
lea ebx, [esp + 0x40]
jmp 0x4e2975
mov ecx, dword [esp + 0x34]
mov edx, edi
mov ebx, dword [esp + 0x4c]
mov eax, esi
mov edi, ebp
jmp 0x4e2975
mov ecx, dword [esp + 0x34]
mov edx, edi
mov ebx, dword [esp + 0x4c]
mov eax, esi
mov edi, ebp
jmp 0x4e2975
lea eax, [0x68c2c3]
mov dword [esp], eax
mov dword [esp + 4], 0x23
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004b9b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
lea eax, [0x68473e]
mov dword [esp], eax
mov dword [esp + 4], 0x11
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004b9b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
lea eax, [0x68472d]
mov dword [esp], eax
mov dword [esp + 4], 0x11
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004b9b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
test ebx, ebx
je 0x4e2ca6
lea eax, [0x68c2c3]
mov dword [esp], eax
mov dword [esp + 4], 0x23
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004b9b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x5c
ret
mov eax, edx
mov ecx, esi
call fcn.0046a6e0
mov eax, 3
mov ecx, edx
call fcn.0046a6d0
mov eax, ecx
mov ecx, edx
mov edx, eax
call fcn.0046a6c0
mov eax, ecx
mov ecx, edx
mov edx, eax
call fcn.0046a7b0
mov eax, 1
xor ecx, ecx
call fcn.0046a6d0
nop
call fcn.00469200
jmp fcn.004e27d0