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

Disassembly:
lea ecx, [esp + 0x80]
push edx
mov byte [esp + 0x1b0], 0x10
call fcn.00544bd0
test eax, eax
jne 0x4ed44e
cmp dword [esp + 0x1c0], ebx
je 0x4edbe8
push 0x40
push 0x5ece08
push 0x5ecdb0
push ebx
call dword [0x597710]
jmp 0x4edbe8
mov eax, dword [0x5f9f88]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x1b4], 0x14
call fcn.005447f0
add esp, 8
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b0], 0x15
call 0x5df845
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], 0x14
call 0x5df70c
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.00544640
add esp, 8
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b0], 0x16
call 0x5df845
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], 0x14
call 0x5df70c
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00544470
add esp, 8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b0], 0x17
call 0x5df845
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], 0x14
call 0x5df70c
push 0x5e9230
lea ecx, [esp + 0x38]
call 0x5df895
mov eax, dword [0x5f9f88]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push 0x5ecda0
push ecx
mov byte [esp + 0x1c0], 0x18
call 0x5daeb4
xor eax, eax
xor ecx, ecx
add esp, 4
mov edx, 0x14
mov ebp, esp
mov edi, edx
push ecx
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov ecx, esp
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea edx, [esp + 0x40]
mov dword [esp + 0x34], esp
push edx
call 0x5df481
lea ecx, [esp + 0x94]
call fcn.00544f50
cmp eax, ebx
jne 0x4ed5a9
cmp dword [esp + 0x1c0], ebx
je 0x4edb93
push 0x40
push 0x5ece08
push 0x5ecd88
push ebx
call dword [0x597710]
jmp 0x4edb93
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x10]
push eax
call 0x5df77a
push 0x5ebe1c
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x1b8], 0x19
call 0x5df9a1
str word [ebp - 0x39efdbb4]
test byte [esp + ebp*4], ah
add dword [eax], eax
add byte [ebx], bl
call 0x5df70c
mov edx, dword [esp + 0x38]
push edx
call fcn.004b5a50
add esp, 4
test al, al
jne 0x4ed619
cmp dword [esp + 0x1c0], ebx
je 0x4edb82
push 0x40
push 0x5ece08
push 0x5ecd74
push ebx
call dword [0x597710]
jmp 0x4edb82
mov eax, dword [0x5f9f88]
mov dword [esp + 0x30], eax
push esi
lea ecx, [esp + 0x34]
push 0x5e78b0
push ecx
mov byte [esp + 0x1b8], 0x1c
call 0x5daeb4
mov eax, dword [0x5f9f88]
add esp, 0xc
xor ebp, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1b0], 0x20
call fcn.00515c50
mov dword [esp + 0x6c], ebx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x44]
push edx
mov byte [esp + 0x1b0], 0x21
call fcn.00515cd0
push 0x5ebdd8
lea ecx, [esp + 0x48]
call fcn.00516040
test al, al
je 0x4edaa6
lea ecx, [esp + 0x44]
call fcn.00516520
lea eax, [esp + 0x1c]
push 0x5ebdbc
push eax
lea ecx, [esp + 0x4c]
call fcn.004c6ea0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x1ac], 0x22
push ecx
call 0x5c7577
add esp, 4
lea edx, [esp + 0x40]
lea ecx, [esp + 0x44]
mov edi, eax
push 0x5ebdb0
push edx
call fcn.004c6ea0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b0], 0x23
call 0x5df845
lea ecx, [esp + 0x40]
mov byte [esp + 0x1ac], 0x22
call 0x5df70c
mov eax, dword [esp + 0x1c]
push eax
call 0x5c7577
mov esi, eax
add esp, 4
cmp esi, 1
jge 0x4ed720
mov esi, 1
lea ecx, [edi + 0x61]
and ecx, 0x8000007f
jns 0x4ed730
dec ecx
or ecx, 0xffffff80
inc ecx
cmp ecx, 1
jne 0x4ed738
inc esi
mov ebp, ecx
mov edx, dword [esp + 0x50]
inc edi
push edi
push 0x5ebdbc
push edx
lea ecx, [esp + 0x50]
call fcn.00518120
mov eax, dword [esp + 0x50]
push esi
push 0x5ebdb0
push eax
lea ecx, [esp + 0x50]
call fcn.00518120
lea ecx, [esp + 0x44]
call fcn.00516520
push ebx
push ebx
push 0x5ebe70
lea ecx, [esp + 0x50]
call fcn.005192d0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
push ecx
push 0x5ebe6c
push edx
lea ecx, [esp + 0x50]
call fcn.00518160
add al, byte [eax]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
push eax
push 0x5ebe60
push ecx
lea ecx, [esp + 0x50]
call fcn.00518160
mov edx, dword [esp + 0x1c4]
push 0x5fe7d8
push edx
call 0x5c73ed
add esp, 8
test eax, eax
invalid
jne 0x4ed7d4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
push eax
push 0x5ebe5c
push ecx
jmp 0x4ed7e6
mov edx, dword [esp + 0x1c4]
mov eax, dword [esp + 0x50]
push edx
push 0x5ebe5c
push eax
lea ecx, [esp + 0x50]
call fcn.00518160
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
push ecx
push 0x5ebe58
push edx
lea ecx, [esp + 0x50]
call fcn.00518160
lea eax, [esp + 0x24]
push 0x5ecd6c
lea ecx, [esp + 0x24]
push eax
push ecx
call 0x5df9a1
push 0x5e9230
lea edx, [esp + 0x44]
mov bl, 0x24
push eax
push edx
mov byte [esp + 0x1b8], bl
call 0x5df9a1
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push eax
mov eax, dword [esp + 0x54]
push 0x5ebe50
push eax
mov byte [esp + 0x1b8], 0x25
call fcn.00518160
lea ecx, [esp + 0x40]
mov byte [esp + 0x1ac], bl
call 0x5df70c
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ac], 0x22
call 0x5df70c
lea ecx, [esp + 0x44]
call fcn.00516560
lea ecx, [esp + 0x44]
call fcn.00516560
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ac], 0x21
call 0x5df70c
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x48]
call fcn.00515e40
test ebp, ebp
jne 0x4ed8f2
mov edx, dword [0x5f9f88]
mov dword [esp + 0x1c], edx
dec esi
lea eax, [esp + 0xa0]
push esi
push eax
lea ecx, [esp + 0x24]
push 0x5ebd70
push ecx
mov byte [esp + 0x1bc], 0x28
call 0x5daeb4
mov edx, dword [esp + 0x2c]
add esp, 0x10
push edx
call dword [0x597424]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ac], 0x21
call 0x5df70c
mov eax, dword [esp + 0x1c0]
test eax, eax
je 0x4ed911
push 0x40
push 0x5ecd60
push 0x5ecd4c
push 0
call dword [0x597710]
mov eax, dword [esp + 0x78]
xor esi, esi
dec eax
mov byte [esp + 0x1ac], 0x2a
sar eax, 0x10
inc eax
test eax, eax
jle 0x4ed946
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + esi*4]
push eax
call 0x5deb2c
mov edx, dword [esp + 0x7c]
add esp, 4
inc esi
dec edx
sar edx, 0x10
inc edx
cmp esi, edx
jl 0x4ed928
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4ed957
push eax
call 0x5deb2c
add esp, 4
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x4ed99a
xor edi, edi
mov eax, dword [ecx + edi]
test eax, eax
je 0x4ed989
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4bdbe0
push ecx
push 0xc
push eax
call 0x5c6e4b
push esi
call 0x5deb2c
mov ecx, dword [esp + 0x74]
add esp, 4
add edi, 4
cmp edi, 0x1c
jl 0x4ed961
push ecx
call 0x5deb2c
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], 0
mov byte [esp + 0x1ac], 0x29
call 0x5df70c
lea ecx, [esp + 0x44]
mov byte [esp + 0x1ac], 0x1c
call 0x5df70c
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ac], 0x1b
call 0x5df70c
lea ecx, [esp + 0x38]
mov byte [esp + 0x1ac], 0x18
call 0x5df70c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ac], 0x14
call 0x5df70c
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ac], 0x13
call 0x5df70c
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ac], 0x12
call 0x5df70c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ac], 0x11
call 0x5df70c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ac], 0x10
call 0x5df70c
lea ecx, [esp + 0x80]
mov byte [esp + 0x1ac], 4
call fcn.00544b60
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 3
call 0x5df70c
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ac], 1
call 0x5df70c
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x1ac], 0
call 0x5df70c
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x1ac], 0xffffffff
call 0x5df70c
mov eax, 1
jmp 0x4edc4b
cmp dword [esp + 0x1c0], ebx
je 0x4edac2
push 0x40
push 0x5ece08
push 0x5ecd38
push ebx
call dword [0x597710]
mov edx, dword [esp + 0x78]
xor esi, esi
dec edx
mov byte [esp + 0x1ac], 0x27
sar edx, 0x10
inc edx
test edx, edx
jle 0x4edaf7
mov eax, dword [esp + 0x74]
mov eax, dword [eax + esi*4]
push eax
call 0x5deb2c
mov ecx, dword [esp + 0x7c]
add esp, 4
inc esi
dec ecx
sar ecx, 0x10
inc ecx
cmp esi, ecx
jl 0x4edad9
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x4edb08
push eax
call 0x5deb2c
add esp, 4
mov ecx, dword [esp + 0x70]
cmp ecx, ebx
je 0x4edb4b
xor edi, edi
mov eax, dword [ecx + edi]
cmp eax, ebx
je 0x4edb3a
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4bdbe0
push edx
push 0xc
push eax
call 0x5c6e4b
push esi
call 0x5deb2c
mov ecx, dword [esp + 0x74]
add esp, 4
add edi, 4
cmp edi, 0x1c
jl 0x4edb12
push ecx
call 0x5deb2c
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x1ac], 0x26
call 0x5df70c
lea ecx, [esp + 0x44]
mov byte [esp + 0x1ac], 0x1c
call 0x5df70c
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ac], 0x1b
call 0x5df70c
lea ecx, [esp + 0x38]
mov byte [esp + 0x1ac], 0x18
call 0x5df70c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ac], 0x14
call 0x5df70c
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ac], 0x13
call 0x5df70c
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ac], 0x12
call 0x5df70c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ac], 0x11
call 0x5df70c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ac], 0x10
call 0x5df70c
lea ecx, [esp + 0x80]
mov byte [esp + 0x1ac], 4
call fcn.00544b60
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 3
call 0x5df70c
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ac], 1
call 0x5df70c
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x1ac], 0
call 0x5df70c
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x1ac], 0xffffffff
call 0x5df70c
xor eax, eax
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1a0
ret 0x14