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

Disassembly:
push 0xffffffffffffffff
push 0x5baf2c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x69e298]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov esi, dword [esp + 0x260]
mov ebx, ecx
cmp byte [ebx + 0x14], 0
mov dword [esp + 0x38], ebx
jne 0x4d6199
push 1
push 0xe2
push str..graphics_surface.cpp
lea ecx, [esp + 0xf8]
call fcn.00496f50
lea eax, [esp + 0xec]
push 0x5d8094
xor ebp, ebp
push eax
mov dword [esp + 0x260], ebp
call fcn.00402cc0
add esp, 8
lea ecx, [esp + 0xec]
call fcn.00496c20
test al, al
je 0x4d6165
int3
lea ecx, [esp + 0x168]
mov dword [esp + 0x258], 0xffffffff
call fcn.00401f70
lea ecx, [esp + 0x168]
push ecx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00588e93
add esp, 4
jmp 0x4d619b
xor ebp, ebp
cmp byte [ebx + 0x14], 0
je 0x4d66e4
push esi
mov ecx, ebx
call fcn.004d5b50
mov edi, eax
mov ecx, ebx
mov dword [esp + 0x3c], edi
call fcn.004d5280
mov esi, eax
lea eax, [esi - 1]
cmp eax, 0x10
ja case.0x4d61c8.16
jmp dword [eax*4 + 0x4d6710]
mov edx, dword [esp + 0x264]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b], 0
or esi, 0xffffffff
call fcn.004d4810
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xe0]
push ecx
call fcn.004d4b40
add esp, 8
push eax
lea ecx, [esp + 0x34]
call fcn.004d4880
mov eax, dword [esp + 0x30]
movzx dx, al
shl dx, 8
movzx edi, dx
movzx dx, ah
movzx ecx, al
shl dx, 8
mov dword [esp + 0x34], ebp
movzx ebp, dx
or edi, ecx
movzx eax, ah
or ebp, eax
mov al, byte [esp + 0x32]
movzx cx, al
shl cx, 8
movzx ecx, cx
movzx edx, al
mov al, byte [esp + 0x33]
or ecx, edx
mov dword [esp + 0x40], ecx
movzx cx, al
shl cx, 8
movzx ecx, cx
movzx edx, al
or ecx, edx
mov dword [esp + 0x30], ecx
jmp 0x4d6265
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push eax
mov ecx, ebx
call fcn.004d5860
mov ecx, dword [eax]
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x1c], al
movzx dx, cl
shl dx, 8
mov eax, ecx
shr eax, 8
mov byte [esp + 0x18], al
movzx eax, dx
mov ebx, ecx
movzx ecx, cl
or eax, ecx
sub eax, edi
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
shr ebx, 0x18
movzx dx, bl
shl dx, 8
movzx eax, dx
movzx edx, bl
or eax, edx
sub eax, dword [esp + 0x30]
cdq
xor eax, edx
sub eax, edx
mov dl, byte [esp + 0x1c]
add ecx, eax
movzx ax, dl
shl ax, 8
movzx eax, ax
movzx edx, dl
or eax, edx
sub eax, dword [esp + 0x40]
cdq
xor eax, edx
sub eax, edx
mov dl, byte [esp + 0x18]
add ecx, eax
movzx ax, dl
shl ax, 8
movzx eax, ax
movzx edx, dl
or eax, edx
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
add ecx, eax
cmp ecx, esi
jae 0x4d6308
mov al, byte [esp + 0x34]
mov byte [esp + 0x17], al
mov esi, ecx
mov eax, dword [esp + 0x34]
inc eax
cmp eax, 0x100
mov dword [esp + 0x34], eax
jl 0x4d6261
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x3c]
mov byte [edx], cl
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xb8]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d4960
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xc8]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d4990
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xd8]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d49c0
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x90]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d49f0
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d4a20
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xa0]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d4a50
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xd0]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d4a80
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xb0]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d4880
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xe8]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d4850
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xc0]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d4ab0
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d4ae0
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.004d4b40
add esp, 8
push eax
mov ecx, edi
call fcn.004d4b10
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x24]
call fcn.004d4810
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.004d4b40
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
add esp, 8
mov dword [edi + 4], edx
jmp 0x4d66e4
mov eax, dword [esp + 0x264]
push eax
mov ecx, edi
call fcn.004d4810
jmp 0x4d66e4
push 1
push 0x116
push str..graphics_surface.cpp
lea ecx, [esp + 0x1a8]
call fcn.004e3750
push 0xb
mov edi, 0xf
push 0x5d80c4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x260], 1
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebp
mov byte [esp + 0x50], 0
call fcn.00401db0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x260], 2
call fcn.00495c50
add esp, 8
push esi
push eax
lea eax, [esp + 0x1a4]
mov ebx, 3
push eax
mov byte [esp + 0x264], bl
call fcn.00496550
add esp, 8
mov ecx, eax
call fcn.00408aa0
cmp dword [esp + 0x78], 4
jb 0x4d6670
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x64], ebp
mov byte [esp + 0x258], 1
jb 0x4d6698
mov edx, dword [esp + 0x48]
push edx
call fcn.0058984a
add esp, 4
push ebp
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
call fcn.004e38c0
lea ecx, [esp + 0x218]
mov dword [esp + 0x258], 0xffffffff
call fcn.00401f70
lea eax, [esp + 0x218]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00588e93
add esp, 4
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00589f78
add esp, 0x248
ret 8