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

Disassembly:
mov ecx, dword [0x8602c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xb4]
cmp eax, dword [ecx + 8]
jbe 0x4eddd8
sub esp, 0x134
mov byte [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
nop
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0xe4]
cmp eax, ecx
je 0x4ed279
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
test edx, edx
jg 0x4ed176
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x4ed211
mov dword [esp + 0x40], edx
mov dword [esp + 0x9c], ebx
cmp edx, 1
jne 0x4ed1cf
lea eax, [0x60d8c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044da60
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe4]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x40]
mov edx, 1
mov esi, eax
mov edi, 1
mov eax, dword [esp + 0x144]
jmp 0x4ed211
lea eax, [0x60d8c0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 8], ecx
call fcn.0044da60
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe4]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x40]
mov edx, ebp
mov esi, eax
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x144]
cmp edx, ebp
jg 0x4ed217
mov ebp, edx
cmp esi, ebx
je 0x4ed25a
mov dword [esp + 0x68], edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x90], esi
mov dword [esp], esi
mov dword [esp + 4], ebx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.004685e0
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0xe4]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x68]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], edi
mov dword [esp + 0xe8], esi
movzx edx, byte [eax]
mov byte [esp + 0xe4], dl
mov byte [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
nop
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd4]
cmp edx, ebx
je 0x4ed433
mov ebp, dword [edx + 8]
mov esi, dword [edx + 4]
test ebp, ebp
jg 0x4ed2ea
mov edi, ebp
xor ebp, ebp
mov dword [esp + 0x8c], ebp
xor ecx, ecx
mov dword [esp + 0x64], ecx
mov ebp, edi
lea ecx, [esp + 0xe4]
jmp 0x4ed3c1
mov dword [esp + 0x98], esi
mov dword [esp + 0x3c], ebp
cmp ebp, 1
jne 0x4ed361
lea eax, [0x60d8c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044da60
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe4]
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd4]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x3c]
mov ebp, 1
mov dword [esp + 0x8c], eax
mov edx, 1
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
jmp 0x4ed3c1
lea eax, [0x60d8c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.0044da60
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe4]
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd4]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x3c]
mov ebp, edi
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
cmp ebp, edi
jg 0x4ed3c7
mov edi, ebp
mov eax, dword [esp + 0x8c]
cmp eax, esi
je 0x4ed409
mov dword [esp + 0x58], ebp
mov dword [esp], eax
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.004685e0
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0xe4]
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd4]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0xdc], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xd8], eax
movzx eax, byte [edx]
mov byte [esp + 0xd4], al
mov eax, dword [esp + 0x144]
mov byte [esp + 0xd4], 0
mov ebp, dword [esp + 0x13c]
test ebp, ebp
je 0x4ed454
mov esi, dword [esp + 0x140]
mov edi, 1
jmp 0x4ed464
mov esi, dword [esp + 0x140]
test esi, esi
xchg edi, ebx
setne bl
xchg edi, ebx
xchg edi, eax
mov byte [esp + 0x2c], al
xchg edi, eax
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4ed487
xor ecx, ecx
mov dword [esp + 0xac], ecx
xor ecx, ecx
mov dword [esp + 0xb0], ecx
jmp 0x4ed511
mov byte [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea eax, [esp + 0xc4]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.004eb4e0
mov eax, dword [esp + 0xc]
mov byte [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xac], eax
lea ecx, [esp + 0xb4]
mov dword [esp + 0xb0], ecx
mov byte [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov byte [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov byte [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov byte [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004efaa0
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x4ed621
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xd4]
lea edx, [esp + 0xe4]
mov ebx, dword [esp + 0xac]
jmp 0x4ed63d
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xe4]
lea edx, [esp + 0xd4]
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], edx
jmp 0x4ed677
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [edx + 8]
cmp ebp, 1
jle 0x4ed813
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004ec890
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ed7a2
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x7c], edx
movzx ebx, byte [esp + 0x18]
mov byte [esp + 0x2f], bl
mov ebp, dword [esp + 8]
mov dword [esp + 0x6c], ebp
mov esi, dword [esp + 0xa8]
mov dword [esp], esi
mov edi, dword [esp + 0xa4]
mov dword [esp + 4], edi
lea esi, [esp + 0x124]
mov dword [esp + 8], esi
lea esi, [esp + 0x114]
mov dword [esp + 0xc], esi
lea esi, [esp + 0x104]
mov dword [esp + 0x10], esi
lea esi, [esp + 0xf4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov byte [esp + 0x28], bl
call fcn.004eca90
movzx eax, byte [esp + 0x2c]
test al, al
je 0x4ed65b
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
lea edx, [esp + 0x124]
mov dword [esp + 8], edx
lea ebx, [esp + 0x114]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x104]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0xf4]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x24], edi
movzx edi, byte [esp + 0x2f]
xchg edi, eax
mov byte [esp + 0x28], al
xchg edi, eax
call fcn.004eca90
movzx eax, byte [esp + 0x2c]
jmp 0x4ed65b
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x124]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0x114]
mov dword [esp + 0x14], esi
lea edi, [esp + 0x104]
mov dword [esp + 0x18], edi
lea edi, [esp + 0xf4]
mov dword [esp + 0x1c], edi
movzx edi, byte [esp + 0x2c]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.004ecd40
movzx eax, byte [esp + 0x2c]
jmp 0x4ed65b
test ebp, ebp
je 0x4ed8e0
cmp dword [ecx + 8], 1
jle 0x4ed888
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x124]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0x114]
mov dword [esp + 0x14], ebp
lea ebp, [esp + 0x104]
mov dword [esp + 0x18], ebp
lea esi, [esp + 0xf4]
mov dword [esp + 0x1c], esi
movzx edi, byte [esp + 0x2c]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.004ecd40
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [edx + 8]
test ebp, ebp
je 0x4ed8e0
mov ebp, dword [ecx + 8]
test ebp, ebp
jbe 0x4eddce
mov ebp, dword [edx + 4]
mov esi, dword [ecx + 4]
mov esi, dword [esi]
mov ebp, dword [ebp]
movzx edi, byte [esp + 0x2c]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4edb93
xor edi, edi
mov edi, 1
mov dword [esp + 0x70], edi
mov edi, 1
mov dword [esp + 0x78], edi
xor edi, edi
mov dword [esp + 0x74], edi
mov edi, 1
xchg edi, eax
mov byte [esp + 0x2e], al
xchg edi, eax
xor edi, edi
jmp 0x4edc33
mov ebx, dword [esp + 0x144]
movzx ebp, byte [ebx]
mov esi, dword [esp + 0x140]
test esi, esi
je 0x4edaf3
xchg ebp, eax
mov byte [esp + 0x2d], al
xchg ebp, eax
mov edi, dword [esp + 0x148]
cmp edi, esi
jne 0x4eda64
nop
cmp edi, edx
je 0x4eda66
mov ecx, dword [edx + 0xc]
mov ebp, dword [edi + 8]
mov dword [esp + 0x44], ebp
mov eax, dword [edi + 4]
cmp ecx, ebp
jl 0x4ed930
mov ebx, dword [edx + 4]
jmp 0x4ed9cb
mov dword [esp + 0x94], eax
cmp ebp, 1
jne 0x4ed986
lea eax, [0x60d8c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044da60
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x148]
mov ebp, 1
mov ecx, 1
jmp 0x4ed9cb
lea eax, [0x60d8c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
call fcn.0044da60
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x148]
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
cmp ebp, esi
jg 0x4ed9d5
mov esi, ebp
cmp ebx, eax
je 0x4eda18
mov dword [esp + 0x60], ecx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x54], ebp
mov dword [esp], ebx
mov dword [esp + 4], eax
shl esi, 2
mov dword [esp + 8], esi
call fcn.004685e0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x148]
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ecx
mov eax, dword [0x860560]
test eax, eax
je 0x4eda39
mov eax, edi
call fcn.00467c50
mov dword [edi], ebx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov edi, eax
mov dword [edx + 4], ebx
movzx eax, byte [edi]
mov byte [edx], al
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x144]
movzx ebp, byte [esp + 0x2d]
mov esi, dword [esp + 0x140]
jmp 0x4eda66
mov edx, edi
mov dword [esp + 0xa4], edx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004eba40
movzx eax, byte [esp + 0x2d]
test al, al
je 0x4eda97
mov ecx, dword [esp + 0x140]
movzx edx, byte [ecx]
xor edx, 1
mov byte [ecx], dl
jmp 0x4eda9e
mov ecx, dword [esp + 0x140]
mov dword [esp], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004eb7f0
mov eax, dword [esp + 0x140]
mov dword [esp], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.004ebcf0
mov eax, dword [esp + 0x13c]
test eax, eax
mov ecx, dword [esp + 0xa8]
mov edx, eax
movzx ebp, byte [esp + 0x2d]
mov eax, dword [esp + 0xac]
jmp 0x4edafc
mov edx, dword [esp + 0x13c]
test edx, edx
je 0x4edb3a
movzx ebx, byte [eax]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov byte [edx], bl
mov dword [edx + 8], esi
mov dword [edx + 0xc], edi
mov ebx, dword [0x860560]
test ebx, ebx
je 0x4edb29
call fcn.00467c50
mov dword [edi], eax
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov dword [edx + 4], eax
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4edb3a
movzx eax, byte [edx]
xor eax, 1
mov byte [edx], al
mov eax, dword [ecx + 0xc]
movzx edx, byte [ecx]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
mov ebp, dword [esp + 0x138]
mov byte [ebp], dl
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], eax
mov eax, dword [0x860560]
test eax, eax
je 0x4edb6d
call fcn.00467c50
mov dword [edi], ecx
mov eax, dword [ebp + 4]
mov dword [edi + 4], eax
mov dword [ebp + 4], ecx
mov dword [esp + 0x14c], ebp
add esp, 0x134
ret
mov ebx, eax
mov eax, esi
xor edx, edx
div ebp
mov eax, ebx
mov esi, ebp
mov ebp, edx
mov edx, dword [esp + 0xa4]
test ebp, ebp
jne 0x4edb7e
mov ebx, dword [ecx + 8]
test ebx, ebx
jbe 0x4edba8
mov ebx, dword [ecx + 4]
mov dword [ebx], esi
jmp 0x4ed8e0
xor eax, eax
mov ecx, eax
call fcn.00467cb0
mov eax, esi
xor edx, edx
div ebp
mov edx, edi
imul edx, eax
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x70]
imul eax, edx
mov dword [esp + 0x80], eax
mov eax, esi
mov esi, edx
xor edx, edx
div ebp
mov eax, edx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
add edx, ecx
mov ecx, edx
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x74]
add edx, ebx
mov ebx, edx
movzx edx, byte [esp + 0x2e]
xor edx, 1
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], esi
mov byte [esp + 0x2e], dl
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
mov edi, ecx
mov esi, ebp
mov ecx, dword [esp + 0xa8]
mov ebp, eax
mov eax, dword [esp + 0xac]
test ebp, ebp
jne 0x4edbb1
mov dword [esp + 0x50], esi
mov ebp, dword [esp + 0x100]
mov edi, dword [esp + 0xf8]
mov edx, dword [esp + 0x78]
test edx, edx
jne 0x4edc59
xor edx, edx
jmp 0x4edca9
nop
test ebp, ebp
jne 0x4edca2
lea eax, [0x60d8c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044da60
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0x50]
mov ebp, 1
mov dword [edi], edx
mov edx, 1
mov dword [esp + 0xfc], edx
mov dword [esp + 0x100], ebp
mov dword [esp + 0xf8], edi
mov edx, dword [esp + 0x110]
mov ebp, dword [esp + 0x108]
mov edi, dword [esp + 0x74]
test edi, edi
jne 0x4edcd8
xor edi, edi
jmp 0x4edd29
nop
test edx, edx
jne 0x4edd21
lea eax, [0x60d8c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044da60
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x74]
mov edx, 1
mov dword [ebp], edi
mov edi, 1
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], edx
mov dword [esp + 0x108], ebp
movzx ecx, byte [esp + 0x2e]
mov edx, ecx
xor ecx, 1
mov byte [esp + 0xf4], cl
mov byte [esp + 0x104], dl
lea ecx, [esp + 0xf4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004eba40
lea eax, [esp + 0x104]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004eba40
mov eax, dword [esp + 0xac]
mov dword [esp], eax
lea ecx, [esp + 0xf4]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x104]
mov dword [esp + 8], ecx
call fcn.004eb5a0
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x50]
jmp 0x4edb97
xor eax, eax
mov ecx, eax
call fcn.00467cb0
nop
call fcn.00466840
jmp fcn.004ed100