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

Disassembly:
push 0xffffffffffffffff
push 0x5f09cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [0x6698c8]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x18], ecx
jne 0x4d79bd
mov ecx, 0x6756e0
call fcn.0047ace0
test eax, eax
je 0x4d7f5d
mov eax, dword [eax + 0x68]
mov esi, dword [0x675bbc]
mov dword [esp + 0x30], eax
mov eax, dword [0x675bc4]
mov ecx, eax
mov dword [esp + 0x1c], 0
shr ecx, 2
neg eax
sbb eax, eax
mov dword [esp + 0x20], ecx
and eax, esi
test ecx, ecx
jle 0x4d79bd
mov dword [esp + 0x14], eax
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
xor esi, esi
lea edx, [ecx + ecx*8]
mov di, word [eax + edx*4 + 0x14]
lea ebp, [eax + edx*4]
xor edx, edx
mov eax, 0x6698cc
mov ebx, dword [eax - 4]
test ebx, ebx
jne 0x4d7992
mov ebx, edi
mov esi, 1
and ebx, 0xffff
cmp dword [eax], ebx
je 0x4d79cc
add eax, 0xc
inc edx
cmp eax, 0x669998
jl 0x4d797a
test esi, esi
je 0x4d79bd
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
inc ecx
add eax, 4
cmp ecx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
jl 0x4d7960
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4d79e3
xor esi, esi
jmp 0x4d79e6
lea eax, [edx + edx*2]
mov edx, dword [ebp]
shl eax, 2
mov dword [eax + 0x6698c8], edx
mov dword [eax + 0x6698d0], ecx
jmp 0x4d79a1
mov esi, dword [eax + 8]
mov cl, byte [esi]
mov eax, esi
test cl, cl
je 0x4d7a40
mov cl, byte [eax]
cmp cl, 9
jne 0x4d79fa
mov byte [eax], 0x20
jmp 0x4d7a26
mov dl, byte [eax + 1]
test dl, dl
je 0x4d7a17
xor ebx, ebx
mov bh, cl
mov bl, dl
cmp bx, 0xa1a1
jne 0x4d7a17
mov byte [eax], 0x20
inc eax
mov byte [eax], 0x20
jmp 0x4d7a26
cmp cl, 0x20
jae 0x4d7a26
cmp cl, 0xd
je 0x4d7a26
cmp cl, 0xa
jne 0x4d7a3d
test byte [eax], 0x80
je 0x4d7a33
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4d7a40
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4d79ee
jmp 0x4d7a40
mov byte [eax], 0
lea ecx, [esp + 0x54]
call fcn.004918b0
xor ebp, ebp
mov dword [esp + 0x70], ebp
cmp byte [esi], 0x20
jne 0x4d7a5c
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x4d7a54
cmp byte [esi], 0
je 0x4d7ab2
push esi
lea ecx, [esp + 0x58]
call fcn.00491be0
mov al, byte [esi]
mov ecx, esi
cmp al, 0xd
je 0x4d7a83
cmp al, 0xa
je 0x4d7a83
test al, al
je 0x4d7a83
mov al, byte [esi + 1]
inc esi
cmp al, 0xd
jne 0x4d7a73
mov dl, byte [esi]
xor eax, eax
test dl, dl
sete al
mov edx, esi
dec esi
cmp esi, ecx
jb 0x4d7a9d
cmp byte [esi], 0x20
jne 0x4d7a9d
dec esi
cmp esi, ecx
jae 0x4d7a93
cmp eax, ebp
mov byte [esi + 1], 0
jne 0x4d7ab2
mov al, byte [edx + 1]
lea esi, [edx + 1]
cmp al, 0xa
jne 0x4d7a4f
inc esi
jmp 0x4d7a4f
push ebp
lea ecx, [esp + 0x58]
call fcn.00491be0
push 0xd4
call fcn.005bd3d9
mov esi, eax
add esp, 4
mov dword [esp + 0x78], esi
cmp esi, ebp
je 0x4d7b8b
mov eax, dword [0x6707bc]
mov dword [esi], eax
mov ecx, dword [0x6707bc]
mov dword [esi + 4], ecx
mov edx, dword [0x6707bc]
mov dword [esi + 8], edx
mov ebx, dword [esp + 0x18]
lea edi, [esi + 0x18]
push ebx
mov ecx, edi
mov byte [esp + 0x74], 4
call fcn.0040ea40
mov dword [edi], 0x5f7bac
lea edi, [esi + 0x38]
push ebx
mov ecx, edi
mov byte [esp + 0x74], 5
call fcn.0040ea40
mov dword [edi], 0x5f7bac
lea ecx, [esi + 0x58]
mov byte [esp + 0x70], 6
call fcn.004918b0
lea ecx, [esi + 0x6c]
mov byte [esp + 0x70], 7
call fcn.004918b0
lea ecx, [esi + 0x80]
mov byte [esp + 0x70], 8
call fcn.004918b0
lea ecx, [esi + 0x94]
mov byte [esp + 0x70], 9
call fcn.004918b0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x70], 0xa
call fcn.004918b0
lea ecx, [esi + 0xbc]
mov byte [esp + 0x70], 0xb
call fcn.004918b0
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0xd0], ebx
jmp 0x4d7b91
mov ebx, dword [esp + 0x18]
xor esi, esi
mov edx, dword [esi + 0x10]
xor eax, eax
or edx, 2
mov ebp, esi
mov dword [esi + 0x10], edx
mov edi, dword [esp + 0x64]
neg edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x70], 0
sbb edi, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], esi
and edi, eax
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x20], eax
je 0x4d7c1d
cmp byte [eax], 0x2e
jne 0x4d7c02
lea eax, [esp + 0x20]
push eax
call fcn.004d6330
add esp, 4
test eax, eax
je 0x4d7c02
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x28]
push ecx
push edi
push edx
push eax
mov ecx, ebx
call fcn.004d6eb0
mov edi, eax
jmp 0x4d7bc1
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
push edi
mov ecx, ebx
call fcn.004d6cb0
mov edi, eax
jmp 0x4d7bc1
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x4d7d1c
mov eax, dword [esi + 0x1c]
test eax, eax
jg 0x4d7d1c
mov eax, dword [esi + 0x3c]
test eax, eax
jg 0x4d7d1c
test esi, esi
mov dword [esp + 0x78], esi
je 0x4d7d14
lea ecx, [esi + 0xbc]
mov byte [esp + 0x70], 0x15
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x70], 0x14
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea ecx, [esi + 0x94]
mov byte [esp + 0x70], 0x13
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea ecx, [esi + 0x80]
mov byte [esp + 0x70], 0x12
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea ecx, [esi + 0x6c]
mov byte [esp + 0x70], 0x11
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea ecx, [esi + 0x58]
mov byte [esp + 0x70], 0x10
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea ecx, [esi + 0x38]
mov byte [esp + 0x70], 0xf
call fcn.00402470
lea ecx, [esi + 0x18]
mov byte [esp + 0x70], 0xe
call fcn.00402470
lea ecx, [esi + 8]
mov byte [esp + 0x70], 0xd
call fcn.005bc421
lea ecx, [esi + 4]
mov byte [esp + 0x70], 0xc
call fcn.005bc421
mov ecx, esi
mov byte [esp + 0x70], 0
call fcn.005bc421
push esi
call fcn.005bd402
add esp, 4
xor ebp, ebp
mov dword [esp + 0x30], ebp
jmp 0x4d7d2f
mov eax, dword [ebx + 0x1fc]
lea ecx, [ebx + 0x1f4]
push esi
push eax
call fcn.005bb38c
xor eax, eax
push 8
mov dword [esp + 0x3c], eax
mov word [esp + 0x42], ax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x45]
push eax
push ecx
mov word [esp + 0x48], 0xffff
mov byte [esp + 0x4c], 0x6a
call fcn.00492780
lea edx, [esp + 0x55]
push 8
push edx
call fcn.004927e0
mov eax, dword [ebx + 0x27c]
add esp, 0x14
shr eax, 3
or edx, 0xffffffff
cmp eax, 0xffffffff
mov byte [esp + 0x51], 0x36
mov byte [esp + 0x52], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edx
jle 0x4d7f31
cmp edx, 0xffffffff
jne 0x4d7da2
mov ecx, ebp
test ebp, ebp
mov dword [esp + 0x10], ecx
je 0x4d7f24
jmp 0x4d7dbf
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x264]
push eax
push edx
call fcn.004f48d0
test eax, eax
je 0x4d7f31
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xcc]
test eax, eax
mov dword [esp + 0x78], eax
jle 0x4d7ef1
test eax, eax
jne 0x4d7dd9
xor ebp, ebp
jmp 0x4d7ddf
mov ebp, dword [ecx + 0xc4]
mov edx, dword [esp + 0x78]
or esi, 0xffffffff
mov edi, ebp
lea eax, [edx + ebp]
cmp ebp, eax
jae 0x4d7e78
mov bl, byte [edi]
inc edi
mov byte [esp + 0x14], bl
mov eax, dword [esp + 0x14]
push eax
call fcn.004ee1a0
add esp, 4
test eax, eax
je 0x4d7e3e
cmp bl, 0x6a
jne 0x4d7e30
mov ecx, edi
call fcn.004eb270
test eax, eax
je 0x4d7e30
cmp esi, 0xffffffff
jne 0x4d7e33
mov esi, edi
mov ecx, edi
sub esi, ebp
dec esi
call fcn.004eb460
add edi, eax
jmp 0x4d7e41
or esi, 0xffffffff
mov ecx, edi
call fcn.004eb460
add edi, eax
jmp 0x4d7e41
or esi, 0xffffffff
mov ecx, dword [esp + 0x78]
lea eax, [ecx + ebp]
cmp edi, eax
jb 0x4d7df3
mov ecx, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x4d7e78
mov eax, dword [ecx + 0xcc]
add ecx, 0xbc
sub eax, esi
push eax
push esi
call fcn.004922f0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xcc]
mov dword [esp + 0x78], edx
mov eax, dword [ecx + 0xcc]
test eax, eax
jne 0x4d7e86
xor edi, edi
jmp 0x4d7e8c
mov edi, dword [ecx + 0xc4]
mov eax, dword [esp + 0x78]
mov esi, edi
lea ebp, [eax + edi]
cmp edi, ebp
jae 0x4d7ef1
mov bl, byte [esi]
inc esi
mov byte [esp + 0x14], bl
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004ee1a0
add esp, 4
test eax, eax
je 0x4d7ed0
cmp bl, 0x6a
jne 0x4d7ed0
mov ecx, esi
call fcn.004eb270
test eax, eax
je 0x4d7ed0
mov ecx, esi
call fcn.004eb460
add esi, eax
cmp esi, ebp
jb 0x4d7e99
jmp 0x4d7eed
sub esi, edi
dec esi
test esi, esi
jle 0x4d7eed
mov edx, dword [esp + 0x10]
push esi
push 0
lea ecx, [edx + 0xbc]
call fcn.004922f0
sub dword [esp + 0x78], esi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
test edx, edx
jne 0x4d7f72
cmp dword [esp + 0x1c], 0xffffffff
je 0x4d7f0d
push ecx
call fcn.004d6880
mov ecx, dword [esp + 0x14]
add esp, 4
push 0xffffffffffffffff
call fcn.004ebe10
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
inc edx
cmp edx, eax
mov dword [esp + 0x1c], edx
jl 0x4d7d8d
mov eax, dword [ebx + 0x338]
lea ecx, [esp + 0x54]
or al, 1
mov dword [esp + 0x70], 0xffffffff
mov dword [ebx + 0x338], eax
mov dword [esp + 0x54], 0x5f7940
call fcn.00491ab0
mov eax, 1
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov eax, dword [ecx + 0xcc]
test eax, eax
jne 0x4d7f80
xor eax, eax
jmp 0x4d7f86
mov eax, dword [ecx + 0xc4]
mov al, byte [eax + edx - 1]
cmp al, 0x73
je 0x4d7f96
cmp al, 0x72
je 0x4d7f96
cmp al, 0x74
jne 0x4d7fa3
push ecx
call fcn.004d6880
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, dword [ecx + 0xcc]
xor bl, bl
test eax, eax
jne 0x4d7fb3
xor ebp, ebp
jmp 0x4d7fb9
mov ebp, dword [ecx + 0xc4]
mov eax, dword [ecx + 0xcc]
test eax, eax
jne 0x4d7fc7
xor edx, edx
jmp 0x4d7fcd
mov edx, dword [ecx + 0xc4]
mov eax, dword [ecx + 0xcc]
add edx, eax
cmp ebp, edx
jae 0x4d7f0d
mov al, byte [ebp]
mov byte [esp + 0x14], al
mov edi, dword [esp + 0x14]
push edi
call fcn.004ee1a0
add esp, 4
test eax, eax
jne 0x4d80e1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xcc]
test eax, eax
jne 0x4d800b
xor eax, eax
jmp 0x4d8011
mov eax, dword [ecx + 0xc4]
mov esi, ebp
and edi, 0xff
sub esi, eax
lea eax, [edi - 0x50]
cmp eax, 0x24
ja case.0x4d802f.87
xor edx, edx
mov dl, byte [eax + 0x4d8118]
jmp dword [edx*4 + 0x4d80f8]
mov al, byte [ebp + 1]
push eax
jmp 0x4d8056
cmp bl, 0x6b
jne case.0x4d802f.87
jmp 0x4d8089
cmp bl, 0x50
jne case.0x4d802f.87
jmp 0x4d8089
mov cl, byte [ebp + 1]
push ecx
call fcn.004ea810
add esp, 4
cmp eax, 5
jne 0x4d80d3
jmp 0x4d8084
cmp bl, 0x6e
jne case.0x4d802f.87
jmp 0x4d8089
cmp bl, 0x6f
jne case.0x4d802f.87
jmp 0x4d8089
mov dl, byte [ebp + 1]
push edx
call fcn.004ea810
add esp, 4
cmp eax, 5
jne 0x4d80d3
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, 0xffffffff
je case.0x4d802f.87
lea eax, [esp + 0x40]
push 0x13
push eax
push esi
add ecx, 0xbc
call fcn.004920d0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xcc]
test eax, eax
jne 0x4d80bf
mov bl, byte [esp + 0x14]
xor eax, eax
lea ebp, [eax + esi + 0x13]
inc ebp
jmp 0x4d7fb9
mov eax, dword [ecx + 0xc4]
mov bl, byte [esp + 0x14]
lea ebp, [eax + esi + 0x13]
inc ebp
jmp 0x4d7fb9
mov ecx, dword [esp + 0x10]
mov bl, byte [esp + 0x14]
inc ebp
jmp 0x4d7fb9
inc ebp
mov ecx, ebp
call fcn.004eb460
mov ecx, dword [esp + 0x10]
mov bl, byte [esp + 0x14]
add ebp, eax
jmp 0x4d7fb9