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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4d24ae
sub esp, 0x94
mov ecx, dword [esp + 0xa8]
cmp ecx, 2
jne 0x4d21d2
mov edx, dword [esp + 0xa4]
cmp word [edx], 0x7069
jne 0x4d2186
mov ebx, dword [esp + 0xb0]
test ebx, ebx
je 0x4d217d
mov eax, dword [esp + 0xac]
xor ebp, ebp
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea esi, [0x4daf00]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebp
test ebx, ebx
jne 0x4d1ee5
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.0045a35b
mov ecx, dword [esp + 0xa8]
cmp ecx, 2
jne 0x4d1cfe
cmp word [edx], 0x7069
jne 0x4d245d
lea eax, [0x559ce0]
mov dword [esp], eax
call fcn.0040b1d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4d1cf4
mov dword [edi], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4d1ce1
mov dword [edi + 0xc], eax
lea eax, [0x5c1950]
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], edi
lea ecx, [0x54ce20]
mov dword [esp], ecx
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4d1ccf
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 1
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x94
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045a0f0
mov eax, ecx
jmp 0x4d1c95
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0045a0f0
mov edi, edx
jmp 0x4d1c5e
call fcn.0045a0f0
jmp 0x4d1c42
mov dword [esp + 0x34], ebp
cmp ecx, 3
je 0x4d1e58
cmp ecx, 4
jne 0x4d2459
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x576fca]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004025c0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4d1dcb
mov eax, dword [esp + 0xa4]
cmp dword [eax], 0x34706374
jne 0x4d1dbe
lea eax, [0x55f3c0]
mov dword [esp], eax
call fcn.0040b1d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4d1db7
mov dword [edi], eax
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4d1da7
mov dword [edi + 0x10], eax
lea eax, [0x5c1970]
jmp 0x4d1c64
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0045a0f0
mov edi, edx
jmp 0x4d1d9c
call fcn.0045a0f0
jmp 0x4d1d7d
cmp dword [eax], 0x36706374
je 0x4d1d4d
jmp 0x4d244e
mov eax, dword [esp + 0xa4]
cmp dword [eax], 0x34706475
jne 0x4d1e4b
lea eax, [0x55f440]
mov dword [esp], eax
call fcn.0040b1d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4d1e44
mov dword [edi], eax
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4d1e34
mov dword [edi + 0x10], eax
lea eax, [0x5c1990]
jmp 0x4d1c64
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0045a0f0
mov edi, edx
jmp 0x4d1e29
call fcn.0045a0f0
jmp 0x4d1e0a
cmp dword [eax], 0x36706475
je 0x4d1dda
jmp 0x4d244e
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x5769af]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
call fcn.004025c0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4d1eb3
mov eax, dword [esp + 0xa4]
movzx ecx, word [eax]
cmp cx, 0x7069
jne 0x4d1e9e
cmp byte [eax + 2], 0x34
je 0x4d1c0e
cmp cx, 0x7069
jne 0x4d244e
cmp byte [eax + 2], 0x36
je 0x4d1c0e
jmp 0x4d244e
mov eax, dword [esp + 0xa4]
cmp word [eax], 0x6374
jne 0x4d1ecb
cmp byte [eax + 2], 0x70
je 0x4d1d4d
cmp word [eax], 0x6475
jne 0x4d244e
cmp byte [eax + 2], 0x70
je 0x4d1dda
jmp 0x4d244e
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], eax
mov ebp, dword [esp + 0x98]
mov dword [esp], ebp
mov ebp, dword [esp + 0x9c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.004d3450
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
test ebx, ebx
jne 0x4d2147
mov dword [esp + 0x38], ecx
cmp ecx, 1
je 0x4d20f3
xor ebx, ebx
test bl, bl
je 0x4d20ec
lea edi, [esp + 0x80]
mov ebx, eax
xor eax, eax
call fcn.0045a35b
mov ecx, dword [0x780048]
mov ebp, dword [0x78004c]
mov eax, ebx
mov ebx, dword [0x780050]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 1]
cmp edx, ebx
jb 0x4d20b6
mov ebp, dword [0x795b00]
lea ecx, [ecx + ecx*4]
lea edi, [eax + ecx*4]
test ebp, ebp
jne 0x4d207c
lea esi, [esp + 0x80]
call fcn.0045a83e
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x4d2073
mov ebp, dword [esp + 0xa4]
lea esi, [ebp + ecx - 1]
cmp byte [esi], 0x34
jne 0x4d2067
test ecx, ecx
lea esi, [0x59c9b0]
je 0x4d2063
lea ecx, [ebp + ecx - 1]
cmp byte [ecx], 0x36
jne 0x4d2063
lea ecx, [0x59c9b4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.004d1160
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebp
add esp, 0x94
ret
mov ecx, esi
jmp 0x4d1ff9
test ecx, ecx
mov esi, 0
jmp 0x4d1fe8
mov ebp, dword [esp + 0xa4]
jmp 0x4d2069
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], edx
lea eax, [0x559ce0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
call fcn.0040fc30
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
jmp 0x4d1fbd
lea ebp, [0x559ce0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00441c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x38]
jmp 0x4d1f9d
mov ebx, ecx
jmp 0x4d1fbd
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov ecx, dword [0x759a30]
mov edx, dword [0x759a34]
mov ebx, dword [0x759a38]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004cf080
movzx ebx, byte [esp + 0x18]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
jmp 0x4d1f4d
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebp
add esp, 0x94
ret
xor ebx, ebx
xor eax, eax
jmp 0x4d1ba8
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00408a10
mov eax, dword [esp + 8]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea ecx, [0x5c0c90]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0x94
ret
cmp ecx, 3
je 0x4d23a0
cmp ecx, 4
je 0x4d21e9
mov edx, dword [esp + 0xa4]
jmp 0x4d2186
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x576fca]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.004025c0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4d237f
mov ecx, dword [esp + 0xa4]
cmp dword [ecx], 0x34706374
jne 0x4d2367
mov edx, dword [esp + 0xb0]
test edx, edx
jne 0x4d2257
xor eax, eax
xor edx, edx
xor ebx, ebx
mov ecx, dword [esp + 0xa8]
mov ebp, eax
mov eax, ebx
mov ebx, edx
mov edx, dword [esp + 0xa4]
jmp 0x4d1baa
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004d14b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x4d2331
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp + 8], edx
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
call fcn.004d3ec0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x4d22fb
mov eax, ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0xa4]
jmp 0x4d223e
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
add esp, 0x94
ret
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], esi
add esp, 0x94
ret
cmp dword [ecx], 0x36706374
je 0x4d222d
mov ecx, dword [esp + 0xa8]
jmp 0x4d21e0
mov ecx, dword [esp + 0xa4]
cmp dword [ecx], 0x34706475
je 0x4d222d
cmp dword [ecx], 0x36706475
je 0x4d222d
jmp 0x4d2373
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x5769af]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004025c0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4d2423
mov ecx, dword [esp + 0xa4]
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x4d23fc
cmp byte [ecx + 2], 0x34
jne 0x4d23f7
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
jmp 0x4d1b92
cmp dx, 0x7069
jne 0x4d2417
cmp byte [ecx + 2], 0x36
jne 0x4d2417
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
jmp 0x4d1b92
mov ecx, dword [esp + 0xa8]
jmp 0x4d21e0
mov ecx, dword [esp + 0xa4]
cmp word [ecx], 0x6374
jne 0x4d243b
cmp byte [ecx + 2], 0x70
je 0x4d222d
cmp word [ecx], 0x6475
jne 0x4d2417
cmp byte [ecx + 2], 0x70
je 0x4d222d
jmp 0x4d2417
mov ecx, dword [esp + 0xa8]
mov edx, eax
jmp 0x4d245d
mov eax, edx
jmp 0x4d244e
mov dword [esp], 0
lea eax, [0x580ea6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00444fc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408a10
mov eax, dword [esp + 8]
lea ecx, [0x550cc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042f8e0
nop
call fcn.00458ba0
jmp fcn.004d1b50