Function at 0x4ed160
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6724ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebx
call fcn.0064dc20
lea ecx, [esp + 0x80]
call fcn.00472a90
push 0xa
push ebx
lea ecx, [esp + 0x88]
mov dword [esp + 0x100], ebx
mov dword [esp + 0x88], 0x69dc40
call fcn.00472ab0
lea ecx, [esp + 0x4c]
mov dword [esp + 0xf8], 1
call fcn.004bd890
push 0xa
push ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x100], 2
mov dword [esp + 0x54], 0x69dee4
call fcn.00473440
lea ecx, [esp + 0x30]
mov byte [esp + 0xf8], 3
call fcn.00473110
push 0xa
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x100], 4
mov dword [esp + 0x38], 0x69db4c
call fcn.0048b670
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
mov byte [esp + 0x100], 5
call fcn.0048b670
mov eax, dword [edi + 0xc]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebx
call fcn.0048b670
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x34]
mov esi, eax
dec eax
test esi, esi
je 0x4ed268
inc eax
mov esi, dword [edx]
add edx, 4
mov dword [ecx], esi
add ecx, 4
dec eax
jne 0x4ed25b
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x4ed2de
call fcn.004e5e60
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x4ed2de
mov ecx, dword [esp + 0x38]
xor eax, eax
test ecx, ecx
jle 0x4ed29e
mov edx, dword [esp + 0x34]
cmp ebx, dword [edx]
je 0x4ed29a
inc eax
add edx, 4
cmp eax, ecx
jl 0x4ed28c
jmp 0x4ed29e
test eax, eax
jge 0x4ed2e2
mov ecx, ebx
call fcn.004da3a0
mov edx, dword [eax]
push 0
mov ecx, eax
mov dword [esp + 0x4c], eax
call dword [edx + 0x68]
mov esi, eax
push 2
push 0x40140000
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x148]
push esi
mov ecx, ebx
call fcn.004da3b0
mov ecx, dword [esp + 0x38]
push ebx
push ecx
lea ecx, [esp + 0x38]
call fcn.004ea3d0
mov ecx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x20], ecx
cmp ecx, eax
mov dword [esp + 0x18], eax
jle 0x4ed747
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov ebx, eax
mov edx, dword [esp + 0x34]
push 0
mov ecx, dword [ebx + edx]
call fcn.0048ed70
test eax, eax
jne 0x4ed326
mov eax, dword [esp + 0x34]
push 7
mov ecx, dword [ebx + eax]
call fcn.004d8810
cmp dword [ebp + 0x10], eax
jne 0x4ed723
mov ecx, dword [esp + 0x34]
push 0
mov ecx, dword [ebx + ecx]
call fcn.0048ed70
test eax, eax
je 0x4ed33f
mov eax, 1
jmp 0x4ed34b
mov edx, dword [esp + 0x34]
mov ecx, dword [ebx + edx]
call fcn.004d8ca0
test eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x44], 0
jle 0x4ed723
lea ecx, [esp + 0x94]
call fcn.00472a90
push 0xa
push 0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], 6
mov dword [esp + 0x9c], 0x69dc40
call fcn.00472ab0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xf8], 7
call fcn.004bd890
mov esi, 0x69dee4
push 0xa
push 0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x100], 8
mov dword [esp + 0xb0], esi
call fcn.00473440
lea ecx, [esp + 0xc0]
mov byte [esp + 0xf8], 9
call fcn.004bd890
push 0xa
push 0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x100], 0xa
mov dword [esp + 0xc8], esi
call fcn.00473440
mov eax, dword [esp + 0x34]
push 0
mov byte [esp + 0xfc], 0xb
mov ecx, dword [ebx + eax]
call fcn.0048ed70
test eax, eax
je 0x4ed41c
mov ecx, dword [esp + 0x34]
mov ecx, dword [ebx + ecx]
jmp 0x4ed42f
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
push edx
mov ecx, dword [ebx + eax]
call fcn.0048fd00
mov ecx, eax
call fcn.004da3a0
mov edx, dword [edi]
mov esi, eax
lea eax, [esp + 0xc0]
lea ecx, [esp + 0xa8]
push eax
lea eax, [esp + 0x98]
push ecx
push eax
push esi
mov ecx, edi
call dword [edx + 0x118]
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x9c]
cmp eax, 2
mov dword [esp + 0x7c], ecx
jne 0x4ed4df
cmp dword [esi + 0x10], 2
jne 0x4ed4df
mov edx, dword [0x6fd3ec]
mov eax, dword [0x6fd3e8]
mov ebx, dword [edi]
push edx
mov edx, dword [esi]
push eax
sub esp, 0x18
mov ecx, esi
mov eax, esp
mov dword [esp + 0x34], esp
push eax
call dword [edx + 0x7c]
mov ecx, edi
call dword [ebx + 0x104]
mov ecx, dword [0x6fd3ec]
mov ebx, eax
mov eax, dword [0x6fd3e8]
mov edx, dword [edi]
push ecx
push eax
mov eax, dword [esi]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, esi
mov dword [esp + 0x38], edx
call dword [eax + 0x84]
mov edx, dword [esp + 0x34]
mov ecx, edi
call dword [edx + 0x104]
test ebx, ebx
jne 0x4ed4db
test eax, eax
je 0x4ed845
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], 0
test eax, eax
jle 0x4ed6b4
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x88]
xor edi, edi
test eax, eax
mov ebx, eax
jle 0x4ed54a
xor esi, esi
mov eax, dword [0x6fd3ec]
mov edx, dword [esp + 0x84]
mov ecx, dword [0x6fd3e8]
push eax
push ecx
mov ecx, dword [esp + 0xa0]
lea eax, [esi + edx]
mov edx, dword [esp + 0x1c]
add edx, ecx
push eax
push edx
call fcn.0064deb0
add esp, 0x10
test eax, eax
jne 0x4ed68d
inc edi
add esi, 0x18
cmp edi, ebx
jl 0x4ed50c
mov edx, dword [esp + 0x54]
xor esi, esi
test edx, edx
jle 0x4ed633
mov edi, dword [esp + 0xac]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x24]
fld qword [edi + ebx*8]
fcomp qword [ecx]
fnstsw ax
test ah, 1
jne 0x4ed580
inc esi
add ecx, 8
cmp esi, edx
jl 0x4ed567
jmp 0x4ed637
push 1
push ebx
lea ecx, [esp + 0x9c]
call fcn.00472c20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0064dc70
push esi
lea ecx, [esp + 0xa0]
call fcn.0049cc50
mov eax, dword [esp + 0xac]
fld qword [eax + ebx*8]
mov eax, dword [esp + 0x54]
fstp qword [esp + 0x24]
cmp esi, eax
jl 0x4ed5d2
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x54]
call fcn.00473440
jmp 0x4ed612
mov edi, eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x54]
call fcn.00473440
mov eax, dword [esp + 0x50]
mov edx, esi
shl edx, 0x1d
sub edx, esi
lea ecx, [eax + esi*8]
add edx, edi
shl edx, 3
push edx
lea edx, [eax + esi*8 + 8]
push ecx
push edx
nop
call fcn.0081dc79
mov eax, dword [esp + 0x5c]
add esp, 0xc
xor ecx, ecx
lea eax, [eax + esi*8]
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor ecx, ecx
lea eax, [esi*8]
fld qword [esp + 0x24]
mov edx, dword [esp + 0x50]
add eax, 8
fstp qword [eax + edx - 8]
mov edx, ecx
dec ecx
test edx, edx
jne 0x4ed61b
jmp 0x4ed691
mov ebx, dword [esp + 0x24]
push ebx
lea ecx, [esp + 0x98]
call fcn.00472c20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0064dc70
lea ecx, [esp + 0x98]
call fcn.00472bf0
mov eax, dword [esp + 0xac]
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
fld qword [eax + ebx*8]
mov eax, dword [esp + 0x58]
fstp qword [esp + 0x28]
mov esi, eax
inc eax
push eax
call fcn.00473440
fld qword [esp + 0x24]
mov ecx, dword [esp + 0x50]
fstp qword [ecx + esi*8]
jmp 0x4ed691
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
inc ebx
add ecx, 0x18
cmp ebx, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ecx
jl 0x4ed4fb
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x2c]
mov esi, 0x69de24
lea ecx, [esp + 0xc0]
mov byte [esp + 0xf8], 9
mov dword [esp + 0xc0], esi
call fcn.00472e70
lea ecx, [esp + 0xa8]
mov byte [esp + 0xf8], 7
mov dword [esp + 0xa8], esi
call fcn.00472e70
lea ecx, [esp + 0x94]
mov byte [esp + 0xf8], 5
mov dword [esp + 0x94], 0x69dc54
call fcn.00472c30
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x44], eax
jl 0x4ed35f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebx
jl 0x4ed2fd
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x88]
test eax, eax
mov dword [esp + 0x20], eax
jle 0x4eda7b
mov ecx, dword [ebp + 8]
push 0
mov eax, dword [ecx]
call dword [eax + 0x68]
mov esi, eax
push 0
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x58]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4eda7b
mov eax, dword [esp + 0x18]
mov ebx, dword [esi]
push eax
lea ecx, [esp + 0x84]
call fcn.00472c20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0064dc70
mov ecx, esi
call dword [ebx + 0x12c]
mov ebx, eax
test ebx, ebx
je 0x4ed9f9
mov edx, dword [esi]
push 0x3fe00000
lea eax, [esp + 0xc4]
push 0
push eax
mov ecx, esi
call dword [edx + 0x90]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
push 0
mov dword [esp + 0x74], ecx
sub esp, 0x18
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov dword [esp + 0x94], edx
call fcn.0064dc70
mov ecx, edi
call fcn.004eaa60
test eax, eax
jne 0x4ed931
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov eax, dword [ecx + 8]
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.0048b670
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov dword [edx + eax*4], esi
jmp 0x4ed93e
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4ed871
mov edi, dword [esp + 0x48]
test edi, edi
je 0x4ed871
mov ecx, esi
call fcn.004da3a0
test eax, eax
je 0x4ed869
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
push edi
mov ecx, esi
call fcn.004da3b0
mov esi, 0x69de24
lea ecx, [esp + 0xc0]
mov byte [esp + 0xf8], 9
mov dword [esp + 0xc0], esi
call fcn.00472e70
lea ecx, [esp + 0xa8]
mov byte [esp + 0xf8], 7
mov dword [esp + 0xa8], esi
call fcn.00472e70
mov edi, 0x69dc54
lea ecx, [esp + 0x94]
mov byte [esp + 0xf8], 5
mov dword [esp + 0x94], edi
call fcn.00472c30
lea ecx, [esp + 0x30]
mov byte [esp + 0xf8], 3
mov dword [esp + 0x30], 0x69db4c
call fcn.004602f0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xf8], 1
mov dword [esp + 0x4c], esi
call fcn.00472e70
lea ecx, [esp + 0x80]
mov dword [esp + 0xf8], 0xffffffff
mov dword [esp + 0x80], edi
call fcn.00472c30
xor eax, eax
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test esi, esi
je 0x4ed93e
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
dec eax
cmp ecx, eax
je 0x4ed952
mov esi, ebx
jmp 0x4ed9e2
mov edx, dword [ebx]
push 0x3fe00000
lea eax, [esp + 0xac]
push 0
push eax
mov ecx, ebx
call dword [edx + 0x90]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
push 0
mov dword [esp + 0x74], ecx
sub esp, 0x18
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov dword [esp + 0x94], edx
call fcn.0064dc70
mov ecx, edi
call fcn.004eaa60
test eax, eax
jne 0x4ed9d9
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov eax, dword [ecx + 8]
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.0048b670
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov dword [edx + eax*4], ebx
jmp 0x4ed9e2
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4ed783
jmp 0x4eda77
mov eax, dword [esi]
push 0x3fe00000
lea ecx, [esp + 0xdc]
push 0
push ecx
mov ecx, esi
call dword [eax + 0x90]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push 1
mov dword [esp + 0x74], edx
sub esp, 0x18
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov dword [esp + 0x94], eax
call fcn.0064dc70
mov ecx, edi
call fcn.004eaa60
test eax, eax
jne 0x4eda77
mov edi, dword [ebp + 0xc]
push 0xffffffffffffffff
mov ecx, edi
mov ebx, dword [edi + 8]
lea eax, [ebx + 1]
push eax
call fcn.0048b670
mov ecx, dword [edi + 4]
mov dword [ecx + ebx*4], esi
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4edaa3
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4edaa3
mov ecx, ebx
call fcn.004da3a0
test eax, eax
je 0x4eda9b
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
push esi
mov ecx, ebx
call fcn.004da3b0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], 0x69db38
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x34]
mov byte [esp + 0xf8], 0xc
test eax, eax
je 0x4edaca
push eax
call fcn.0065e732
add esp, 4
mov esi, 0x691080
mov dword [esp + 0x4c], 0x69dbe8
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x50]
mov byte [esp + 0xf8], 0xd
test eax, eax
je 0x4edaf4
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x80], 0x69dbfc
mov eax, dword [esp + 0x84]
mov dword [esp + 0xf8], 0xe
test eax, eax
je 0x4edb22
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0xf0]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc