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

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x94]
mov ebx, ecx
xor ebp, ebp
mov dword [ebx + 0x4b4], edi
xor esi, esi
lea ecx, [ecx]
mov eax, dword [esi + 0x5419f0]
push eax
mov ecx, edi
call fcn.004ec5b0
test al, al
je 0x4ed533
add esi, 4
cmp esi, 8
jb 0x4ed400
mov esi, dword [esp + 0x98]
xor edi, edi
shl esi, 4
lea esi, [esi + 0x5419f8]
mov dword [esp + 0x14], esi
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4ed450
mov ecx, dword [esp + 0x94]
push eax
call fcn.004ec5b0
test al, al
je 0x4ed565
inc edi
add esi, 4
cmp edi, 4
jb 0x4ed434
mov eax, dword [ebx + 8]
cmp eax, ebp
je 0x4ed471
push eax
mov ecx, 0x56ab94
call fcn.004dcc60
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ebp
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x62]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 0x20000
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
lea eax, [ebx + 4]
mov ecx, 0x20001
push ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], ecx
mov ecx, dword [0x53fff4]
lea eax, [esp + 0x64]
push eax
push ecx
push ebp
mov ecx, 0x56ab94
mov word [esp + 0x70], 0x64
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], 0x320
mov dword [esp + 0x84], 0x258
mov dword [esp + 0x98], ebx
call fcn.004dc5d0
cmp eax, ebp
mov dword [ebx + 8], eax
jne 0x4ed597
push 0x530474
lea edx, [esp + 0x1c]
push ebp
push edx
mov dword [esp + 0x24], 0x541ae4
mov dword [esp + 0x28], 0x266
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x80
ret 0x10
push 0x530474
lea ecx, [esp + 0x1c]
push ebp
push ecx
mov dword [esp + 0x24], 0x541ae4
mov dword [esp + 0x28], 0x228
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x80
ret 0x10
push 0x530474
lea edx, [esp + 0x1c]
push ebp
push edx
mov dword [esp + 0x24], 0x541ae4
mov dword [esp + 0x28], 0x238
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x80
ret 0x10
mov edx, dword [0x53fff4]
push ebp
lea ecx, [esp + 0x64]
push ecx
push edx
push eax
mov ecx, 0x56ab94
mov word [esp + 0x70], 2
call fcn.004dc5d0
cmp eax, ebp
mov dword [ebx + 0xc], eax
jne 0x4ed5ef
push 0x530474
lea eax, [esp + 0x1c]
push ebp
push eax
mov dword [esp + 0x24], 0x541ae4
mov dword [esp + 0x28], 0x26f
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x80
ret 0x10
push 0x4ecf70
mov ecx, eax
call fcn.004dd3e0
mov ecx, dword [ebx + 0xc]
push ebp
call fcn.004dd4f0
mov dword [esp + 0x10], ebp
mov esi, 0x541a50
lea ebp, [ebx + 0xe8]
jmp 0x4ed620
mov word [esp + 0x60], 0
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x62]
rep stosd dword es:[edi], eax
mov dword [ebp], 0
mov ecx, dword [esi - 0xc]
mov edx, dword [esi - 0x10]
stosw word es:[edi], ax
push ecx
lea edi, [ebp - 0xd8]
push edx
mov ecx, edi
call fcn.004eaa90
mov ax, word [esp + 0x10]
mov dword [ebp - 0xa8], 0x100
mov ecx, dword [esi - 0x18]
mov edx, dword [esi - 0x14]
mov word [esp + 0x60], ax
mov eax, dword [esi - 4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esi]
mov dword [esp + 0x88], edi
mov edi, dword [esi + 4]
cmp edi, 0xffffffff
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], eax
mov eax, dword [esi - 0x10]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi - 0xc]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x8c], edx
je 0x4ed736
mov eax, dword [esp + 0x98]
lea ecx, [edi + eax*4]
cmp dword [ecx*4 + 0x5419fc], 0xffffffff
jne 0x4ed6dd
mov dword [esp + 0x64], 0x11
jmp 0x4ed72f
cmp edi, 0xffffffff
je 0x4ed736
mov eax, dword [edi*8 + 0x5419d0]
test eax, eax
je 0x4ed736
call eax
test al, al
jne 0x4ed736
mov al, byte [edi*8 + 0x5419d4]
test al, al
je 0x4ed72a
push 0x530474
lea edx, [esp + 0x24]
push 0
push edx
mov dword [esp + 0x2c], 0x541ae4
mov dword [esp + 0x30], 0x2b6
call fcn.0041ce50
add esp, 0xc
call dword [sym.imp.kernel32.dll_DebugBreak]
jmp 0x4ed72f
or dword [esp + 0x64], 0x10
mov dword [ebp], 3
mov ecx, dword [0x53fff8]
mov edx, dword [ebx + 0xc]
push 0
lea eax, [esp + 0x64]
push eax
push ecx
push edx
mov ecx, 0x56ab94
call fcn.004dc5d0
test eax, eax
mov dword [ebp + 0x40], eax
je 0x4ed89e
mov eax, dword [esp + 0x10]
inc eax
add ebp, 0x11c
add esi, 0x20
cmp eax, 4
mov dword [esp + 0x10], eax
jb 0x4ed620
lea eax, [ebx + 0x4e4]
mov dword [esp + 0x34], eax
mov eax, fcn.004d5b70
lea ecx, [ebx + 0x4dc]
lea edx, [ebx + 0x4e0]
xor edi, edi
mov dword [esp + 0x20], 0x541b38
mov dword [esp + 0x24], 0x541b24
mov dword [esp + 0x28], 0x541b14
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], 0x4ed0d0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x4ed130
mov dword [esp + 0x48], fcn.004d5b70
mov dword [esp + 0x4c], 0x4ed170
xor esi, esi
mov ebp, 0x1f4
mov ecx, dword [esp + esi + 0x20]
mov edx, dword [esp + esi + 0x2c]
push edi
push ecx
push ebx
push 0x14000000
push 0x14
push edx
call fcn.004ec860
add esp, 0x18
cmp eax, edi
je 0x4ed8d1
mov ecx, dword [esp + esi + 0x38]
cmp ecx, edi
jne 0x4ed812
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + esi + 0x44]
cmp ecx, edi
mov dword [eax + 0x18], edi
jne 0x4ed823
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], edi
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], 0x320
mov dword [esp + 0x60], 0x258
call fcn.0041f180
add esi, 4
cmp esi, 0xc
jb 0x4ed7e4
mov eax, dword [ebx + 0x4b4]
push edi
push edi
add eax, 0x568
push eax
lea ecx, [ebx + 0x364]
call fcn.004eaab0
mov edi, dword [esp + 0x14]
add edi, 4
lea esi, [ebx + 0x10]
mov ebp, 3
lea ecx, [ecx]
mov eax, dword [edi]
cmp eax, 0xffffffff
push 0
push 0
je 0x4ed903
mov ecx, dword [ebx + 0x4b4]
imul eax, eax, 0x70
lea edx, [eax + ecx + 0x108]
push edx
jmp 0x4ed905
push 0x530474
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x2c], 0x541ae4
mov dword [esp + 0x30], 0x2c9
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x80
ret 0x10
push 0x530474
lea edx, [esp + 0x24]
push edi
push edx
mov dword [esp + 0x2c], 0x541ae4
mov dword [esp + 0x30], 0x301
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x80
ret 0x10
push 0
mov ecx, esi
call fcn.004eaab0
add esi, 0x11c
add edi, 4
dec ebp
jne 0x4ed880
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x4ed93f
mov ecx, dword [ebx + 0x4b4]
imul eax, eax, 0x70
lea edx, [eax + ecx + 0x108]
mov dword [ebx + 0x4d4], edx
jmp 0x4ed949
mov dword [ebx + 0x4d4], 0
mov eax, dword [ebx + 0x4b4]
mov cl, byte [esp + 0x9c]
mov dl, byte [esp + 0xa0]
add eax, 0x5d8
mov dword [ebx + 0x4c0], eax
mov byte [ebx + 0x4d8], cl
mov byte [ebx + 0x4d9], dl
mov byte [ebx + 0x4db], 0
call fcn.00433720
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov al, 1
pop ebx
add esp, 0x80
ret 0x10