Function at 0x4d7a60
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2e48]
test eax, eax
je 0x4d809e
mov eax, dword [esi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call dword [eax + 0x24]
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x2e48]
mov edi, dword [eax + 8]
mov dword [esp + 0x48], edx
cmp edi, ecx
jle 0x4d809e
cmp dword [eax], edx
jge 0x4d809e
mov edi, dword [esp + 0x44]
mov ebx, dword [eax + 0xc]
cmp ebx, edi
jle 0x4d809e
mov ebx, dword [esp + 0x4c]
mov ebp, dword [eax + 4]
cmp ebp, ebx
jge 0x4d809e
mov al, byte [esi + 0x31c9]
test al, al
je 0x4d7ade
mov ebp, dword [esi + 0x31e4]
jmp 0x4d7ae5
mov ebp, dword [esp + 0xe8]
mov dword [esp + 0x30], ebx
lea ebx, [esi + 0x2e20]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov eax, ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], 3
jmp 0x4d7b13
mov edi, dword [esp + 0x28]
mov edx, dword [ebx - 4]
test edx, edx
jle 0x4d8000
mov ecx, eax
add eax, edx
mov dl, byte [ebx - 8]
mov dword [esp + 0x24], ecx
test dl, dl
mov dword [esp + 0x2c], eax
je 0x4d7b5e
test dword [ebx], 0xfe000000
mov edx, dword [ebp]
je 0x4d7b61
mov ebx, dword [esi + 0x31e8]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov ecx, ebp
mov dword [ebx + 4], edi
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 0xc], eax
call dword [edx + 0x34]
jmp 0x4d7b81
mov edx, dword [ebp]
mov ebx, dword [esi + 0xc74]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov ecx, ebp
mov dword [ebx + 4], edi
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 0xc], eax
call dword [edx + 0x38]
mov ebx, dword [esi + 0x3294]
lea edi, [esi + 0x3320]
push ebx
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0
mov byte [esp + 0x16], 0
call fcn.0052d7e0
mov ecx, dword [esi + 0x336c]
push eax
add ecx, 8
call fcn.004ed660
test ah, 0x10
mov dword [esp + 0x14], eax
je 0x4d7c0c
mov ecx, dword [esi + 0x3294]
push ecx
mov ecx, edi
call fcn.0052d7e0
mov edi, eax
mov eax, dword [esp + 0x14]
test edi, edi
jle 0x4d7bef
test ah, 0x10
je 0x4d7bef
mov eax, dword [esi + 0x336c]
dec edi
push edi
lea ecx, [eax + 8]
call fcn.004ed660
test edi, edi
jg 0x4d7bd6
test ah, 0x20
jne 0x4d7c0c
mov ecx, dword [esp + 0x14]
and eax, 0xfff
and ecx, 0xfff
cmp ecx, eax
jge 0x4d7c0c
mov byte [esp + 0x12], 1
push 0x1f
push 0x1a
mov ecx, esi
call fcn.004d7a40
push 0x1e
push 0x19
mov ecx, esi
mov dword [esp + 0x80], eax
call fcn.004d7a40
lea edi, [esi + 0x3320]
mov dword [esp + 0x7c], eax
mov ecx, edi
call fcn.0052d780
cmp ebx, eax
jge 0x4d7ffc
jmp 0x4d7c48
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
cmp eax, edx
jge 0x4d7ffc
push ebx
mov ecx, edi
call fcn.0052d7e0
mov ebx, eax
mov ecx, edi
push ebx
mov dword [esp + 0x38], ebx
call fcn.0052d7a0
mov edx, dword [esp + 0x1c]
push ebx
cmp edx, eax
mov eax, dword [esi + 0x336c]
sete byte [esp + 0x17]
lea ecx, [eax + 8]
call fcn.004ed660
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x336c]
lea ecx, [ebx + 1]
push ecx
lea ecx, [eax + 8]
call fcn.004ed660
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x336c]
push ebx
lea ecx, [eax + 8]
call fcn.004ecdc0
mov ebx, eax
mov al, byte [esp + 0x13]
test al, al
jne 0x4d7cbd
xor ebx, ebx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov ecx, edx
and eax, 0xfff
and ecx, 0xfff
mov dword [esp + 0x18], eax
test byte [esp + 0x15], 0x20
je 0x4d7d69
mov al, byte [esp + 0x13]
test al, al
je 0x4d7d59
mov eax, dword [esp + 0x34]
mov ecx, edi
push eax
call fcn.0052dc20
test al, al
mov eax, dword [esp + 0x18]
je 0x4d7d2b
cmp eax, 0x400
jne 0x4d7d14
or ebx, 0x80000000
mov byte [esp + 0x12], 0
jmp 0x4d7dfb
mov ecx, dword [esp + 0x78]
mov edx, 1
shl edx, cl
mov byte [esp + 0x12], 0
or ebx, edx
jmp 0x4d7dfb
cmp eax, 0x400
jne 0x4d7d42
or ebx, 0x40000000
mov byte [esp + 0x12], 0
jmp 0x4d7dfb
mov ecx, dword [esp + 0x7c]
mov eax, 1
shl eax, cl
mov byte [esp + 0x12], 0
or ebx, eax
jmp 0x4d7dfb
or ebx, 0x20000000
mov byte [esp + 0x12], 0
jmp 0x4d7dfb
test dword [esp + 0x14], 0x1000
je 0x4d7dbb
cmp byte [esp + 0x12], 0
je 0x4d7da0
test dh, 0x10
jne 0x4d7df5
cmp eax, 0x400
jle 0x4d7d93
or ebx, 0x8000000
mov byte [esp + 0x12], 0
jmp 0x4d7dfb
or ebx, 0x10000000
mov byte [esp + 0x12], 0
jmp 0x4d7dfb
cmp eax, 0x400
jle 0x4d7dfb
cmp ecx, eax
jge 0x4d7df5
cmp ecx, 0x400
jle 0x4d7ded
or ebx, 0x8000000
jmp 0x4d7dfb
cmp eax, 0x400
jle 0x4d7dfb
cmp ecx, eax
jge 0x4d7df5
test dh, 0x10
mov byte [esp + 0x12], 0
je 0x4d7ddd
or ebx, 0x20000000
mov byte [esp + 0x12], 1
jmp 0x4d7dfb
cmp ecx, 0x400
jle 0x4d7ded
or ebx, 0x8000000
jmp 0x4d7dfb
or ebx, 0x10000000
jmp 0x4d7dfb
or ebx, 0x20000000
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x20]
and ebx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x2d78]
mov dword [esp + 0x5c], edx
add eax, edx
mov dl, byte [ecx - 8]
mov dword [esp + 0x64], eax
test dl, dl
jne 0x4d7f90
mov cl, byte [esp + 0x13]
mov byte [esp + 0x80], 0
test cl, cl
je 0x4d7e73
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x80]
lea eax, [ecx + 1]
push eax
push 0xa60194
push edx
call fcn.0059d41d
mov eax, dword [esp + 0x70]
add esp, 0xc
test byte [esi + 0x331c], 0x40
je 0x4d7ed6
mov eax, dword [esi + 0x336c]
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [eax + 8]
call fcn.004ed660
mov edx, eax
mov ecx, eax
sar edx, 0x10
push edx
mov edx, eax
shr edx, 9
not dl
and edx, 8
and eax, 0x2000
and ecx, 0xfff
or edx, 0x57
neg eax
sbb al, al
push ecx
and al, 0xe9
push edx
add al, 0x5f
lea ecx, [esp + 0x8c]
movsx eax, al
push eax
push str._c_c__03X__03X
push ecx
call fcn.0059d41d
mov eax, dword [esp + 0x7c]
add esp, 0x18
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edi, dword [ebp]
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x80]
mov dword [esp + 0x6c], ecx
push eax
mov dword [esp + 0x74], edx
call fcn.004d80b0
add esp, 4
lea ecx, [esp + 0x80]
push eax
lea eax, [esi + 0xc94]
push ecx
push eax
mov ecx, ebp
call dword [edi + 0x58]
mov edi, dword [esp + 0x70]
mov edx, dword [esi + 0xc74]
mov ebp, dword [ebp]
sub edi, eax
mov eax, dword [esi + 0xc6c]
push edx
lea ecx, [esp + 0x84]
push eax
push ecx
sub edi, 3
call fcn.004d80b0
mov ecx, dword [esi + 0x2d7c]
add esp, 4
lea edx, [esp + 0x88]
mov dword [esp + 0x40], ebp
push eax
mov eax, dword [esp + 0x78]
add ecx, eax
push edx
push ecx
lea ecx, [esi + 0xc94]
push ecx
mov ecx, dword [esp + 0x8c]
sub esp, 0x10
mov ebp, dword [esp + 0x78]
mov edx, esp
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x98]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x60]
mov ecx, ebp
call dword [edx + 0x48]
test ebx, ebx
je 0x4d7fce
lea ecx, [esi + 0x2a18]
xor edi, edi
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x4d7fce
test bl, 1
je 0x4d7fbb
lea eax, [esi + 0xc94]
lea edx, [esp + 0x58]
push eax
push edx
push ebp
call fcn.0052ef60
mov ecx, dword [esp + 0x18]
sar ebx, 1
inc edi
add ecx, 0x18
cmp edi, 0x20
mov dword [esp + 0x18], ecx
jl 0x4d7fa0
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x2d78]
mov edx, dword [esp + 0x20]
lea edi, [esi + 0x3320]
inc ebx
add edx, eax
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
call fcn.0052d780
cmp ebx, eax
jl 0x4d7c44
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
add ebx, 0x10
dec ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], ecx
jne 0x4d7b0f
mov ebx, dword [esi + 0xc24]
mov ecx, dword [esp + 0x40]
push ebx
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov edi, dword [esp + 0x60]
mov ebx, esp
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x88], edi
mov edi, dword [ebp]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, ebp
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x88]
mov dword [ebx + 0xc], edx
call dword [edi + 0x38]
mov al, byte [esi + 0x31c9]
test al, al
je 0x4d809e
mov esi, dword [esi + 0x31e4]
xor edx, edx
xor eax, eax
push esi
push edx
mov edx, dword [esp + 0x48]
push eax
mov ecx, dword [esp + 0xf4]
sub esp, 0x10
mov eax, esp
mov edi, dword [ecx]
mov dword [eax], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0xc], edx
call dword [edi + 0x44]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret 8