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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x4edb28
sub esp, 0xf4
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4ed089
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x4ed089
mov ecx, dword [eax + 0xa0]
test ecx, ecx
jne 0x4ed089
lea eax, [0x6a08e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x6d23ed]
mov dword [eax], ecx
lea ecx, [0x751118]
mov edx, dword [esp + 0xf8]
mov dword [edx + 0x60], ecx
mov ebx, dword [0x90e260]
test ebx, ebx
jne 0x4ed07f
mov dword [edx + 0x64], eax
jmp 0x4ed091
lea edi, [edx + 0x64]
call fcn.004630d0
jmp 0x4ed091
lea ecx, [0x751118]
mov edx, eax
mov eax, dword [edx + 0x60]
test eax, eax
jne 0x4ed0a2
mov eax, dword [edx + 0xa0]
test eax, eax
je 0x4ed0ba
mov eax, dword [edx + 0x74]
mov dword [esp + 0xa0], eax
mov ecx, dword [edx + 0x78]
mov dword [esp + 0x4c], ecx
xor ebx, ebx
jmp 0x4eda98
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 0x20]
mov ebp, dword [edx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004ecd10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
je 0x4ed11b
mov dword [esp + 0x74], edx
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0xf8]
mov ebx, dword [eax + 0x74]
mov dword [esp + 0x98], ebx
mov ebp, dword [eax + 0x78]
mov dword [esp + 0x44], ebp
xor esi, esi
jmp 0x4eda02
mov edi, dword [esp + 0xf8]
mov dword [edi + 4], ebp
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x4ed133
mov dword [edi], ebx
jmp 0x4ed13a
mov eax, ebx
call fcn.004630d0
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x4ed239
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
test eax, eax
je 0x4ed192
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.00405d20
movzx eax, byte [esp + 8]
test al, al
je 0x4ed18b
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x3c], edx
xor ebx, ebx
jmp 0x4ed94f
mov edi, dword [esp + 0xf8]
mov eax, dword [edi + 0x44]
lea ecx, [0x6c9f60]
mov dword [esp], ecx
mov dword [esp + 4], 0
add eax, 3
mov dword [esp + 0x58], eax
mov dword [esp + 8], eax
call fcn.0044b780
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x6c], 0
mov edx, dword [esp + 0x58]
mov dword [ecx + 0x70], edx
lea edi, [ecx + 0x68]
mov edx, dword [0x90e260]
test edx, edx
jne 0x4ed1e1
mov dword [ecx + 0x68], eax
jmp 0x4ed1e6
call fcn.004630d0
mov dword [esp + 0xb4], edi
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
lea ebx, [0x6f1878]
mov dword [esp + 0xc4], ebx
lea ebx, [0x6f187c]
mov dword [esp + 0xc8], ebx
lea ebx, [0x6f1874]
mov dword [esp + 0xcc], ebx
xor eax, eax
jmp 0x4ed285
lea eax, [0x6a08e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x6d4a17]
mov dword [eax], ecx
lea ecx, [0x751118]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], eax
add esp, 0xf4
ret
mov ebx, dword [esp + 0x58]
lea eax, [ebx + 1]
mov ecx, edx
mov edi, dword [esp + 0xb4]
cmp eax, 3
jge 0x4ed386
mov dword [esp + 0x58], eax
mov edx, dword [esp + eax*4 + 0xc4]
mov ebx, dword [edx]
mov dword [esp], ecx
call ebx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
test ecx, ecx
jne 0x4ed35c
mov ebx, dword [esp + 0xf8]
mov ebp, dword [ebx + 0x6c]
lea esi, [ebp + 1]
mov ecx, ebp
mov ebp, dword [ebx + 0x68]
mov edx, ebx
mov ebx, dword [ebx + 0x70]
cmp ebx, esi
jae 0x4ed335
mov dword [esp + 0x64], eax
lea eax, [0x6c9f60]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0044b8c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xf8]
mov dword [ebx + 0x70], edx
mov edx, dword [0x90e260]
test edx, edx
jne 0x4ed321
mov dword [ebx + 0x68], eax
mov edi, dword [esp + 0xb4]
jmp 0x4ed32d
mov edi, dword [esp + 0xb4]
call fcn.004630d0
mov edx, ebx
mov ebp, eax
mov eax, dword [esp + 0x64]
lea ebx, [ecx + 1]
mov dword [edx + 0x6c], ebx
mov ebx, dword [0x90e260]
lea edi, [ebp + ecx*4]
test ebx, ebx
jne 0x4ed352
mov dword [ebp + ecx*4], eax
jmp 0x4ed275
call fcn.004630d0
jmp 0x4ed275
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x34], edx
xor esi, esi
jmp 0x4ed8b9
mov eax, dword [ecx + 0x6c]
mov edx, dword [ecx + 0x44]
lea ebx, [eax + edx]
mov dword [esp + 0x58], ebx
mov ebp, dword [ecx + 0x70]
mov esi, dword [ecx + 0x68]
mov edi, dword [ecx + 0x40]
cmp ebp, ebx
jae 0x4ed3ef
mov dword [esp + 0xb0], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
lea ecx, [0x6c9f60]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044b8c0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0xb0]
cmp eax, ebx
ja 0x4ed87a
mov dword [esp + 0x54], ebp
mov dword [esp + 0xac], esi
lea ecx, [0x6c9f60]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 2
sar ebp, 0x1f
and eax, ebp
add eax, esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00410f60
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x70], eax
mov eax, dword [0x90e260]
test eax, eax
jne 0x4ed45d
mov eax, dword [esp + 0xac]
mov dword [ecx + 0x68], eax
jmp 0x4ed470
mov edi, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
call fcn.004630d0
mov dword [esp], ecx
call fcn.004ede90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x4ed60a
mov ecx, dword [esp + 0xf8]
mov edx, dword [ecx + 0xc]
mov eax, esi
mov esi, dword [ecx + 8]
mov edi, ebp
mov ebp, dword [ecx + 0x10]
test edx, edx
jne 0x4ed4f2
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov edx, ebx
mov ebx, dword [ecx]
mov ebp, ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ecx
mov ecx, ebp
mov ebx, edx
mov ebp, 1
mov edx, 1
lea esi, [esp + 0xbc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], esi
lea edi, [esp + 0xd0]
xor eax, eax
call fcn.00463367
mov ecx, dword [esp + 0xf8]
mov eax, ebp
mov ebp, dword [ecx + 0x20]
mov edi, edx
mov edx, dword [ecx + 0x24]
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], edx
mov edx, dword [ecx + 0x68]
mov ebp, dword [ecx + 0x6c]
mov esi, dword [ecx + 0x70]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], esi
mov dword [esp + 0xd8], ebx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xe0], edx
mov edx, dword [ecx + 0x4c]
mov dword [esp + 0xf0], edx
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
lea edx, [esp + 0xd0]
mov dword [esp + 0x14], edx
call fcn.004b98b0
mov ecx, dword [0x90e260]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test ecx, ecx
jne 0x4ed5c2
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x50], eax
jmp 0x4ed5d1
mov ecx, dword [esp + 0xf8]
lea edi, [ecx + 0x50]
call fcn.004630d0
test edx, edx
je 0x4ed5f8
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xb8], ebx
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x80], eax
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x2c], edx
xor esi, esi
jmp 0x4ed817
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x78], eax
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x24], edx
xor ebx, ebx
jmp 0x4ed649
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
add esp, 0xf4
ret
mov dword [esp + 0x58], ebx
lea ecx, [eax + ebx*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x24]
cmp ebx, edx
jl 0x4ed61f
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x4ed6b7
lea ecx, [0x68f700]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004048e0
mov eax, dword [esp + 8]
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x4ed686
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x98], eax
jmp 0x4ed698
mov ecx, dword [esp + 0xf8]
lea edi, [ecx + 0x98]
call fcn.004630d0
mov dword [esp + 0x68], eax
mov edx, dword [ecx + 0x8c]
mov dword [esp + 0xa8], edx
mov ebx, dword [ecx + 0x90]
mov dword [esp + 0x58], ebx
xor ebp, ebp
jmp 0x4ed732
mov dword [esp], ecx
call fcn.004edbe0
mov eax, dword [0x90e260]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4ed6dc
mov eax, dword [esp + 0xf8]
mov dword [eax + 0x9c], ecx
jmp 0x4ed6f0
mov edx, dword [esp + 0xf8]
lea edi, [edx + 0x9c]
mov eax, ecx
call fcn.004630d0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
add esp, 0xf4
ret
mov dword [esp], eax
call fcn.00442540
mov eax, dword [esp + 0x54]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x58]
cmp ebp, ebx
jge 0x4ed6b7
mov dword [esp + 0x54], ebp
mov eax, dword [edx + ebp*4]
mov dword [esp + 0x60], eax
lea ecx, [0x69fec0]
mov dword [esp], ecx
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
lea ecx, [0x4edb80]
mov dword [eax], ecx
mov edx, dword [0x90e260]
test edx, edx
jne 0x4ed775
mov edx, dword [esp + 0x68]
mov dword [eax + 4], edx
jmp 0x4ed781
lea edi, [eax + 4]
mov eax, dword [esp + 0x68]
call fcn.004630d0
lea eax, [0x6a5c40]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x4edb40]
mov dword [eax], ecx
mov edx, dword [0x90e260]
test edx, edx
jne 0x4ed7bb
mov edx, dword [esp + 0xa4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], edx
jmp 0x4ed70d
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0xa4]
call fcn.004630d0
lea edi, [edx + 8]
mov eax, dword [esp + 0x60]
call fcn.004630d0
mov eax, edx
jmp 0x4ed70d
mov dword [esp + 0x58], esi
lea ecx, [eax + esi*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea esi, [eax + 1]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x6c]
cmp esi, edx
jl 0x4ed7df
mov eax, dword [ecx + 0x80]
mov dword [esp + 0x7c], eax
mov ecx, dword [ecx + 0x84]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4ed861
mov dword [esp + 0x58], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [ebx + 0x10]
mov dword [esp], ecx
call ebx
mov eax, dword [esp + 0x58]
lea edx, [eax + 1]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x6c]
cmp edx, ecx
jl 0x4ed833
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebp
add esp, 0xf4
ret
mov ecx, ebx
call fcn.004631b0
mov dword [esp + 0x58], esi
lea eax, [ecx + esi*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x58]
lea esi, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x70]
cmp esi, edx
jl 0x4ed881
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x84], ecx
mov eax, dword [eax + 0x84]
mov dword [esp + 0x30], eax
xor edx, edx
jmp 0x4ed909
mov dword [esp + 0x58], edx
lea eax, [ecx + edx*8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [ebx + 0x10]
mov dword [esp], eax
call ebx
mov eax, dword [esp + 0x58]
lea edx, [eax + 1]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x70]
cmp edx, eax
jl 0x4ed8d8
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebp
add esp, 0xf4
ret
mov dword [esp + 0x58], ebx
lea eax, [ecx + ebx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x3c]
cmp ebx, edx
jl 0x4ed922
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x4ed99b
mov dword [esp + 0x58], ebx
lea eax, [ecx + ebx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x38]
cmp ebx, edx
jl 0x4ed96e
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf4
ret
mov dword [esp + 0x58], esi
lea eax, [ebx + esi*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x58]
lea esi, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x44]
cmp esi, ebp
jl 0x4ed9ca
mov ebx, dword [eax + 0x80]
mov dword [esp + 0x94], ebx
mov eax, dword [eax + 0x84]
mov dword [esp + 0x40], eax
xor ebp, ebp
jmp 0x4eda52
mov dword [esp + 0x58], ebp
lea eax, [ebx + ebp*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x58]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x94]
cmp ebp, eax
jl 0x4eda21
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
add esp, 0xf4
ret
mov dword [esp + 0x58], ebx
lea ecx, [eax + ebx*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xf8]
cmp ebx, ecx
jl 0x4eda6b
mov eax, dword [edx + 0x80]
mov dword [esp + 0x9c], eax
mov ecx, dword [edx + 0x84]
mov dword [esp + 0x48], ecx
xor ebx, ebx
jmp 0x4edae4
mov dword [esp + 0x58], ebx
lea ecx, [eax + ebx*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xf8]
cmp ebx, ecx
jl 0x4edab7
mov eax, dword [edx + 0xa0]
mov ecx, dword [edx + 0xa4]
test eax, eax
je 0x4edb0d
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf4
ret
mov eax, dword [edx + 0x60]
mov ecx, dword [edx + 0x64]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf4
ret
call fcn.00461cc0
jmp fcn.004ed000