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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4ed851
sub esp, 0x9c
mov byte [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004ddf40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004de2c0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004ddf40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004de2c0
lea eax, [0x653340]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.004ddd00
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4ed836
xor ecx, ecx
mov dword [esp + 0x3c], eax
cmp ecx, 0xffffffff
je 0x4ed818
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.004ddac0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004ddf40
nop
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
je 0x4ed22b
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
cmp ebp, edx
jg 0x4ed78e
mov edi, ebp
cmp edi, ebp
jge 0x4ed787
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edx
cmp esi, ebx
je 0x4ed1fb
mov dword [esp], ebx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045d2c0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4ed776
mov eax, dword [esp + 0x34]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x3c]
movzx ecx, byte [eax]
mov byte [edx], cl
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.004e65e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x4ed767
mov dword [ebx + 4], edx
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.004ddac0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.004ddf40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
lea ecx, [0x653340]
mov dword [esp], ecx
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004ddf40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 3
call fcn.004e65e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax]
mov byte [esp + 0x5c], cl
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
lea ebx, [esp + 0x5c]
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004de2c0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.004ddd00
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4ed74c
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x4ed72a
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004de2c0
lea eax, [0x653340]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call fcn.004ddac0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004ddf40
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
call fcn.004ddd00
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4ed70f
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x4ed6ed
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.004ddd00
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4ed6d2
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x4ed6b0
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004de2c0
nop
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 2
call fcn.004e65e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x4ed6a1
mov dword [ebx + 4], edx
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
call fcn.004ddd00
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4ed686
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x4ed664
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004ddf40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004ddf40
nop
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 3
call fcn.004e65e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x40]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4ed657
mov dword [ebx + 4], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004de2c0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
call fcn.004ddd00
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4ed642
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x4ed623
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004de2c0
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xb8], eax
add esp, 0x9c
ret
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004ddac0
mov eax, dword [esp + 0x54]
jmp 0x4ed5e2
movzx ecx, byte [eax]
test cl, cl
je 0x4ed650
mov ecx, 0xffffffff
jmp 0x4ed5dd
mov ecx, 1
jmp 0x4ed5dd
lea edi, [ebx + 4]
call fcn.0045c920
jmp 0x4ed59f
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004ddac0
mov eax, dword [esp + 0x50]
jmp 0x4ed516
movzx ecx, byte [eax]
test cl, cl
je 0x4ed697
mov ecx, 0xffffffff
jmp 0x4ed50d
mov ecx, 1
jmp 0x4ed50d
lea edi, [ebx + 4]
mov eax, edx
call fcn.0045c920
jmp 0x4ed4e8
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004ddac0
mov eax, dword [esp + 0x4c]
jmp 0x4ed476
movzx ecx, byte [eax]
test cl, cl
je 0x4ed6e3
mov ecx, 0xffffffff
jmp 0x4ed46d
mov ecx, 1
jmp 0x4ed46d
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004ddac0
mov eax, dword [esp + 0x4c]
jmp 0x4ed448
movzx ecx, byte [eax]
test cl, cl
je 0x4ed720
mov ecx, 0xffffffff
jmp 0x4ed43f
mov ecx, 1
jmp 0x4ed43f
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004ddac0
mov eax, dword [esp + 0x48]
jmp 0x4ed3b5
movzx ecx, byte [eax]
test cl, cl
je 0x4ed75d
mov ecx, 0xffffffff
jmp 0x4ed3ac
mov ecx, 1
jmp 0x4ed3ac
lea edi, [ebx + 4]
mov eax, edx
call fcn.0045c920
jmp 0x4ed280
lea edi, [edx + 4]
mov eax, dword [esp + 0x34]
call fcn.0045c920
jmp 0x4ed222
mov edi, ebp
jmp 0x4ed1d8
mov dword [esp + 0x30], ebp
mov dword [esp + 0x44], esi
cmp ebp, 1
jne 0x4ed7dc
lea eax, [0x643140]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00444130
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
mov ebp, 1
mov edx, 1
jmp 0x4ed1d0
lea eax, [0x643140]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 8], eax
call fcn.00444130
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
mov ebp, edi
mov edx, dword [esp + 0x2c]
jmp 0x4ed1d0
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004ddac0
jmp 0x4ed155
movzx ecx, byte [eax]
test cl, cl
je 0x4ed847
mov ecx, 0xffffffff
jmp 0x4ed148
mov ecx, 1
jmp 0x4ed148
call fcn.0045b380
jmp fcn.004ed020