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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x69cfdc
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
xor ebp, ebp
cmp eax, ebp
jne 0x4d792f
xor eax, eax
jmp 0x4d838a
mov ecx, dword [esi + 0x20a4]
cmp ecx, ebp
push edi
je 0x4d79a1
call fcn.00425730
mov edi, eax
cmp edi, ebp
je 0x4d7997
mov ecx, dword [esi + 0x20a4]
cmp ecx, ebp
je 0x4d795b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x20a4], ebp
cmp edi, ebp
jle 0x4d7997
push 1
mov ecx, esi
call fcn.004d75e0
mov cl, byte [esi + 0x1ed8]
mov dl, byte [esi + 0x1ed9]
mov byte [esi + 0x1eb0], cl
mov ecx, esi
mov dword [esi + 0x1eb4], 1
mov byte [esi + 0x1eb1], dl
mov dword [esi + 0x1ec0], edi
call fcn.004a4810
mov eax, 1
jmp 0x4d8389
mov eax, dword [esi + 0x1e98]
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x10], edi
je 0x4d79f1
cmp eax, 1
je 0x4d79f1
cmp eax, 2
je 0x4d79f1
mov eax, dword [esp + 0x1a0]
cmp eax, ebp
je 0x4d79f1
cmp dword [eax + 0xd8], ebp
mov edi, eax
mov dword [esp + 0x10], edi
je 0x4d79d8
xor ecx, ecx
jmp 0x4d79df
movzx ecx, byte [eax + 0xdd]
mov byte [esi + 0x1eee], cl
mov al, byte [eax + 0xdc]
mov byte [esi + 0x1eef], al
mov ecx, dword [esi + 0x1e94]
cmp ecx, ebp
je 0x4d7a24
call fcn.005184b0
test eax, eax
je 0x4d7a1a
mov ecx, dword [esi + 0x1e94]
cmp ecx, ebp
je 0x4d7a1a
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x1e94], ebp
mov eax, 1
jmp 0x4d8389
mov al, byte [esi + 0x1e9c]
cmp al, 0xff
mov dl, byte [0x21ea819]
mov cl, byte [0x21ea818]
push ebx
je 0x4d7a8b
test cl, cl
je 0x4d7a8b
cmp al, dl
jne 0x4d7a51
mov bl, byte [esi + 0x1e9d]
cmp bl, byte [0x21ea81a]
je 0x4d7a67
cmp al, byte [0x21ea81b]
jne 0x4d7a8b
mov al, byte [esi + 0x1e9d]
cmp al, byte [0x21ea81c]
jne 0x4d7a8b
push ebp
mov ecx, esi
call fcn.004d75e0
cmp edi, ebp
je 0x4d7a7a
mov byte [edi + 0xdc], 0xff
mov byte [esi + 0x1eef], 0xff
mov eax, 1
jmp 0x4d8388
mov al, byte [esi + 0x1eb0]
cmp al, 0xff
je 0x4d7ac5
test cl, cl
je 0x4d7ac5
cmp al, dl
jne 0x4d7aab
mov bl, byte [0x21ea81a]
cmp byte [esi + 0x1eb1], bl
je 0x4d7ac1
cmp al, byte [0x21ea81b]
jne 0x4d7ac5
mov al, byte [esi + 0x1eb1]
cmp al, byte [0x21ea81c]
jne 0x4d7ac5
push 1
jmp 0x4d7a68
mov al, byte [esi + 0x1ec4]
cmp al, 0xff
je 0x4d7b02
test cl, cl
je 0x4d7b02
cmp al, dl
jne 0x4d7ae5
mov cl, byte [0x21ea81a]
cmp byte [esi + 0x1ec5], cl
je 0x4d7afb
cmp al, byte [0x21ea81b]
jne 0x4d7b02
mov dl, byte [0x21ea81c]
cmp byte [esi + 0x1ec5], dl
jne 0x4d7b02
push 2
jmp 0x4d7a68
or ebx, 0xffffffff
mov byte [0x21ea818], 0
xor edi, edi
lea ebp, [esi + 0x48]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, ebp
call fcn.00516c20
test eax, eax
je 0x4d7b26
mov ebx, edi
inc edi
add ebp, 0x4d4
cmp edi, 2
jl 0x4d7b11
mov eax, ebx
sub eax, 0
je 0x4d8383
dec eax
je 0x4d81d0
mov eax, dword [0x21ebf00]
cmp eax, 1
jne 0x4d7c3b
mov eax, dword [0x21ebf04]
test eax, eax
jne 0x4d811e
mov eax, dword [esi + 0x1ea4]
mov edx, dword [esi + 4]
mov dword [esi + 0x1e98], 0xffffffff
mov edi, dword [0x706458]
lea ecx, [eax + edx]
mov eax, dword [0x706454]
cmp eax, ecx
jl 0x4d7bb5
add ecx, 0x20
cmp eax, ecx
jg 0x4d7bb5
mov ecx, dword [esi + 0x1ea8]
mov ebx, dword [esi + 8]
add ecx, ebx
cmp edi, ecx
jl 0x4d7bb5
add ecx, 0x20
cmp edi, ecx
jg 0x4d7bb5
mov dword [esi + 0x1e98], 0
mov eax, 1
jmp 0x4d8388
mov ecx, dword [esi + 0x1eb8]
add ecx, edx
cmp eax, ecx
jl 0x4d7bee
add ecx, 0x20
cmp eax, ecx
jg 0x4d7bee
mov ecx, dword [esi + 0x1ebc]
mov ebx, dword [esi + 8]
add ecx, ebx
cmp edi, ecx
jl 0x4d7bee
add ecx, 0x20
cmp edi, ecx
jg 0x4d7bee
mov eax, 1
mov dword [esi + 0x1e98], eax
jmp 0x4d8388
mov ecx, dword [esi + 0x1ecc]
add ecx, edx
cmp eax, ecx
jl 0x4d811e
add ecx, 0x20
cmp eax, ecx
jg 0x4d811e
mov edx, dword [esi + 0x1ed0]
mov eax, dword [esi + 8]
add eax, edx
cmp edi, eax
jl 0x4d811e
add eax, 0x20
cmp edi, eax
jg 0x4d811e
mov dword [esi + 0x1e98], 2
mov eax, 1
jmp 0x4d8388
cmp eax, 2
jne 0x4d811e
mov eax, dword [esi + 0x1e98]
sub eax, 0
je 0x4d80cf
dec eax
je 0x4d808d
dec eax
je 0x4d8043
mov bl, byte [esi + 0x1eef]
cmp bl, 0xff
je 0x4d810d
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x1ea4]
mov eax, dword [0x706454]
add ecx, edx
lea edi, [ecx - 8]
cmp eax, edi
mov edi, dword [0x706458]
jl 0x4d7e2f
add ecx, 0x2d
cmp eax, ecx
jg 0x4d7e2f
mov ebp, dword [esi + 8]
mov ecx, dword [esi + 0x1ea8]
add ecx, ebp
lea ebp, [ecx - 8]
cmp edi, ebp
jl 0x4d7e2f
add ecx, 0x2d
cmp edi, ecx
jg 0x4d7e2f
xor edx, edx
mov dl, byte [esi + 0x1eee]
push ebx
mov ecx, esi
push edx
push 0
call fcn.004d7670
test al, al
je 0x4d814a
push 0
mov ecx, esi
call fcn.004d75e0
mov al, byte [esi + 0x1eee]
mov cl, byte [esi + 0x1eef]
mov byte [esi + 0x1e9c], al
movzx eax, al
mov byte [esi + 0x1e9d], cl
movzx ecx, cl
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
imul eax, eax, 0x22
mov dword [esi + 0x1ea0], 1
movzx ecx, byte [eax + 0x8507f9]
movzx eax, byte [eax + 0x8507fa]
push eax
push ecx
mov ecx, 0x856fcc
call fcn.0045f2c0
test eax, eax
mov byte [esi + 0x1eec], 0
mov byte [esi + 0x1eed], 0
je 0x4d7e23
movzx eax, word [eax + 0x20]
xor edx, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
push eax
mov dword [esp + 0x48], edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], edx
push 0x6a8770
push ecx
mov dword [esp + 0x58], edx
call fcn.005b8b8d
lea eax, [esp + 0x3c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d7d82
sub eax, edx
cmp eax, 5
jne 0x4d7e23
mov ax, word [esp + 0x30]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x8c], edx
mov dx, word [esp + 0x32]
mov word [esp + 0x70], ax
mov al, byte [esp + 0x34]
lea ecx, [esp + 0x70]
push ecx
mov word [esp + 0x54], dx
mov byte [esp + 0x56], al
call fcn.005b8a6a
lea edx, [esp + 0x54]
push edx
mov byte [esi + 0x1eec], al
call fcn.005b8a6a
add esp, 8
mov byte [esi + 0x1eed], al
mov ecx, esi
call fcn.004a4810
jmp 0x4d814a
mov ecx, dword [esi + 0x1eb8]
add ecx, edx
lea ebp, [ecx - 8]
cmp eax, ebp
jl 0x4d7f78
add ecx, 0x2d
cmp eax, ecx
jg 0x4d7f78
mov ebp, dword [esi + 8]
mov ecx, dword [esi + 0x1ebc]
add ecx, ebp
lea ebp, [ecx - 8]
cmp edi, ebp
jl 0x4d7f78
add ecx, 0x2d
cmp edi, ecx
jg 0x4d7f78
mov eax, dword [esi + 0x1ea0]
test eax, eax
mov dl, byte [esi + 0x1eee]
je 0x4d814a
movzx eax, dl
movzx ecx, bl
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
imul eax, eax, 0x22
mov cl, byte [eax + 0x8507f9]
cmp byte [esi + 0x1eec], cl
mov al, byte [eax + 0x8507fa]
jne 0x4d814a
cmp byte [esi + 0x1eed], al
jne 0x4d814a
movzx eax, dl
lea edx, [eax + eax*2]
movzx eax, bl
lea ecx, [eax + edx*8]
imul ecx, ecx, 0x22
mov bl, byte [ecx + 0x8507fb]
cmp bl, 1
jbe 0x4d7f3b
mov ecx, dword [esi + 0x20a4]
test ecx, ecx
je 0x4d7ee9
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x20a4], 0
push 0x1860
call fcn.005b8072
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x19c], 1
je 0x4d7f16
movzx ecx, bl
push ecx
mov ecx, eax
call fcn.00425ae0
jmp 0x4d7f18
xor eax, eax
mov dl, byte [esi + 0x1eee]
mov dword [esi + 0x20a4], eax
mov al, byte [esi + 0x1eef]
mov byte [esi + 0x1ed8], dl
mov byte [esi + 0x1ed9], al
jmp 0x4d814a
mov edi, 1
push edi
mov ecx, esi
call fcn.004d75e0
mov cl, byte [esi + 0x1eee]
mov dl, byte [esi + 0x1eef]
mov byte [esi + 0x1eb0], cl
mov ecx, esi
mov dword [esi + 0x1eb4], edi
mov byte [esi + 0x1eb1], dl
mov dword [esi + 0x1ec0], edi
call fcn.004a4810
jmp 0x4d814a
mov ecx, dword [esi + 0x1ecc]
add ecx, edx
lea edx, [ecx - 8]
cmp eax, edx
jl 0x4d810d
add ecx, 0x2d
cmp eax, ecx
jg 0x4d810d
mov eax, dword [esi + 0x1ed0]
mov ecx, dword [esi + 8]
add eax, ecx
lea edx, [eax - 8]
cmp edi, edx
jl 0x4d810d
add eax, 0x2d
cmp edi, eax
jg 0x4d810d
mov al, byte [esi + 0x1eee]
mov byte [esp + 0x18], al
mov cl, bl
movzx eax, al
mov byte [esp + 0x1c], cl
movzx ecx, cl
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
imul edx, edx, 0x22
cmp byte [edx + 0x8507f9], 0x5f
jne 0x4d814a
mov eax, dword [esi + 0x1ea0]
test eax, eax
je 0x4d814a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
mov ecx, esi
call fcn.004d7380
test al, al
je 0x4d814a
push 2
mov ecx, esi
call fcn.004d75e0
mov dl, byte [esi + 0x1eee]
mov al, byte [esi + 0x1eef]
mov ecx, esi
mov dword [esi + 0x1ec8], 1
mov byte [esi + 0x1ec4], dl
mov byte [esi + 0x1ec5], al
call fcn.004a4810
jmp 0x4d814a
mov ecx, dword [esi + 0x1ecc]
mov edx, dword [esi + 4]
lea eax, [ecx + edx]
mov ecx, dword [0x706454]
lea edx, [eax - 8]
cmp ecx, edx
jl 0x4d8086
add eax, 0x2d
cmp ecx, eax
jg 0x4d8086
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x1ed0]
add eax, ecx
mov ecx, dword [0x706458]
lea edx, [eax - 8]
cmp ecx, edx
jl 0x4d8086
add eax, 0x2d
cmp ecx, eax
jle 0x4d810d
push 2
jmp 0x4d8143
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x1eb8]
add eax, ecx
mov ecx, dword [0x706454]
lea edx, [eax - 8]
cmp ecx, edx
jl 0x4d80cb
add eax, 0x2d
cmp ecx, eax
jg 0x4d80cb
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x1ebc]
add eax, ecx
mov ecx, dword [0x706458]
lea edx, [eax - 8]
cmp ecx, edx
jl 0x4d80cb
add eax, 0x2d
cmp ecx, eax
jle 0x4d810d
push 1
jmp 0x4d8143
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x1ea4]
add eax, ecx
mov ecx, dword [0x706454]
lea edx, [eax - 8]
cmp ecx, edx
jl 0x4d8141
add eax, 0x2d
cmp ecx, eax
jg 0x4d8141
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x1ea8]
add eax, ecx
mov ecx, dword [0x706458]
lea edx, [eax - 8]
cmp ecx, edx
jl 0x4d8141
add eax, 0x2d
cmp ecx, eax
jg 0x4d8141
mov byte [esi + 0x1eef], 0xff
mov dword [esi + 0x1e98], 0xffffffff
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
lea ebx, [esi + 0x9f0]
push ecx
mov ecx, ebx
call fcn.00516c20
test eax, eax
je 0x4d816e
mov eax, 4
jmp 0x4d8388
push 0
mov ecx, esi
call fcn.004d75e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d7a7a
mov byte [eax + 0xdc], 0xff
mov byte [esi + 0x1eef], 0xff
mov eax, 1
jmp 0x4d8388
push 1
lea ecx, [esi + 0xf34]
call fcn.0051a390
test eax, eax
jne 0x4d7a81
xor edi, edi
lea ebp, [esi + 0x48]
jmp 0x4d8190
push 1
mov ecx, ebp
call fcn.005169b0
test eax, eax
jne 0x4d7a81
inc edi
add ebp, 0x4d4
cmp edi, 2
jl 0x4d8190
push 1
mov ecx, ebx
call fcn.005169b0
test eax, eax
jne 0x4d7a81
mov ecx, esi
call fcn.005166e0
neg eax
sbb eax, eax
neg eax
jmp 0x4d8388
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004d7570
xor ecx, ecx
mov cl, byte [esi + 0x1ec5]
xor edx, edx
mov dl, byte [esi + 0x1ec4]
lea eax, [esp + 0x13]
push eax
mov byte [esp + 0x17], 0
push ecx
mov ecx, esi
push edx
call fcn.004d7380
cmp dword [0x6f3558], 3
mov bl, byte [esp + 0x13]
jne 0x4d8220
mov al, bl
neg al
sbb eax, eax
and eax, 0xaae60
add eax, 0x927c0
mov edi, eax
jmp 0x4d8224
mov edi, dword [esp + 0x18]
cmp edi, dword [0x84f770]
jbe 0x4d82e7
push 0x154
call fcn.005b8072
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x19c], 0
je 0x4d8259
mov ecx, eax
call fcn.00518a30
jmp 0x4d825b
xor eax, eax
push 0x16
mov ecx, eax
mov dword [esp + 0x1a0], 0xffffffff
mov dword [esi + 0x1e94], eax
call fcn.00518e20
lea ecx, [esp + 0x90]
push ecx
push edi
mov ecx, 0x84f768
call fcn.004c1cb0
mov ecx, dword [esi + 0x1e94]
push 0
call fcn.00518280
mov ecx, eax
call fcn.0051c7b0
lea edx, [esp + 0x90]
push edx
push 0x704578
call fcn.0041b140
add esp, 8
test bl, bl
je 0x4d82e0
push 0x2776
call fcn.0041b230
mov ecx, dword [esi + 0x1e94]
add esp, 4
push eax
push 0
call fcn.00518280
push eax
call fcn.0051d4a0
add esp, 8
xor eax, eax
jmp 0x4d8388
push 0x2777
jmp 0x4d82ba
mov al, byte [esi + 0x1ec4]
mov cl, byte [esi + 0x1ec5]
mov dl, byte [esi + 0x1eb0]
mov byte [esp + 0x20], al
mov al, byte [esi + 0x1eb1]
mov byte [esp + 0x28], cl
mov cl, byte [esi + 0x1ec0]
mov byte [esp + 0x24], dl
mov dl, byte [esi + 0x1e9c]
mov byte [esp + 0x2c], al
mov al, byte [esi + 0x1e9d]
mov byte [esp + 0x14], cl
mov ecx, esi
mov byte [esp + 0x1c], dl
mov byte [esp + 0x18], al
call fcn.004d7780
test al, al
je 0x4d837f
mov eax, dword [0x21e7ca8]
test eax, eax
je 0x4d836d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call fcn.00588110
add esp, 0x20
push 1
mov ecx, esi
call fcn.004d75e0
push 2
mov ecx, esi
call fcn.004d75e0
xor eax, eax
jmp 0x4d8388
mov eax, 2
pop ebx
pop edi
mov ecx, dword [esp + 0x18c]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x190
ret 4