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

Disassembly:
push 0xffffffffffffffff
push 0x4c6ad0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ea6c4]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
mov esi, ecx
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x90]
xor ebp, ebp
push ecx
mov dword [esp + 0x8c], ebp
call fcn.0040b780
add esp, 4
test al, al
jne 0x43a5ab
lea edx, [esp + 0x90]
push edx
push esi
lea edi, [esp + 0x3c]
call fcn.004028e0
add esp, 8
push 0xffffffffffffffff
push ebp
push eax
lea eax, [esp + 0x9c]
mov byte [esp + 0x94], 1
call fcn.004017d0
mov ebx, 8
cmp dword [esp + 0x4c], ebx
jb 0x43a5b0
mov eax, dword [esp + 0x38]
push eax
call fcn.004abbe4
add esp, 4
jmp 0x43a5b0
mov ebx, 8
mov dword [esp + 0x34], vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
cmp byte [esp + 0xb4], 0
mov byte [esp + 0x88], 2
je 0x43a65f
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.0048ce90
add esp, 8
test al, al
jne 0x43a624
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x43a604
push eax
call fcn.004ab965
add esp, 4
cmp dword [esp + 0xa8], ebx
jb 0x43a61d
mov eax, dword [esp + 0x94]
push eax
call fcn.004abbe4
add esp, 4
xor al, al
jmp 0x43a976
cmp dword [esp + 0x38], ebp
jne 0x43a76c
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x43a63f
push eax
call fcn.004ab965
add esp, 4
cmp dword [esp + 0xa8], ebx
jb 0x43a61d
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004abbe4
add esp, 4
xor al, al
jmp 0x43a976
mov byte [esp + 0x88], 3
cmp dword [esp + 0xa8], ebx
mov eax, dword [esp + 0x94]
jae 0x43a67e
lea eax, [esp + 0x94]
push ebp
push 0x80
push 3
push ebp
push 1
push Ordinal_4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x43a6c4
cmp dword [esp + 0xa8], ebx
jb 0x43a61d
mov edx, dword [esp + 0x94]
push edx
call fcn.004abbe4
add esp, 4
xor al, al
jmp 0x43a976
lea edi, [esp + 0x24]
lea eax, [esp + 0x1c]
call fcn.0040c7a0
test al, al
jne 0x43a700
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xa8], ebx
jb 0x43a61d
mov eax, dword [esp + 0x94]
push eax
call fcn.004abbe4
add esp, 4
xor al, al
jmp 0x43a976
mov edi, dword [esp + 0x24]
mov ecx, edi
or ecx, dword [esp + 0x28]
jne 0x43a72f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x34]
call fcn.00401bb0
lea esi, [esp + 0x90]
call fcn.00449530
xor al, al
jmp 0x43a976
lea esi, [esp + 0x34]
call fcn.00401c50
mov eax, dword [esp + 0x3c]
push edi
lea esi, [esp + 0x24]
lea ecx, [esp + 0x20]
call fcn.0040c710
test al, al
lea esi, [esp + 0x1c]
jne 0x43a759
call fcn.0040c6a0
jmp 0x43a713
cmp edi, dword [esp + 0x20]
jne 0x43a752
mov byte [esp + 0x88], 2
call fcn.0040c6a0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x24]
push edx
push eax
lea esi, [esp + 0x28]
lea edx, [esp + 0x38]
call fcn.00455b50
add esp, 8
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x43a713
push 0x2c
lea ecx, [esp + 0x58]
push ebp
push ecx
call fcn.004ae6c0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x64], ebp
push 0
mov ebp, esi
imul ebp, edi
push 0
mov edx, edi
neg edx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x68], edx
push 0
lea edx, [esp + 0x64]
push edx
lea eax, [ebp*4]
push 0
mov dword [esp + 0x6c], 0x28
mov dword [esp + 0x70], esi
mov word [esp + 0x78], 1
mov word [esp + 0x7a], 0x20
mov dword [esp + 0x80], eax
xor bl, bl
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x43a81f
mov eax, dword [esp + 0x1c]
push eax
call fcn.004acb57
add esp, 4
jmp 0x43a713
xor ecx, ecx
test ebp, ebp
jle 0x43a901
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esi, 3
mov dl, byte [esi]
mov byte [eax + ecx*4 + 3], dl
mov edi, dword [esp + 0x18]
cmp byte [edi + ecx*4 + 3], 0xff
jae 0x43a898
movzx eax, byte [esi]
movzx edx, byte [esi - 1]
imul edx, eax
mov eax, 0x80808081
mul edx
shr edx, 7
mov byte [edi + ecx*4], dl
movzx eax, byte [esi]
movzx edx, byte [esi - 2]
imul edx, eax
mov eax, 0x80808081
mul edx
mov eax, dword [esp + 0x18]
shr edx, 7
mov byte [eax + ecx*4 + 1], dl
movzx eax, byte [esi]
movzx edx, byte [esi - 3]
imul edx, eax
mov eax, 0x80808081
mul edx
mov eax, dword [esp + 0x18]
shr edx, 7
mov byte [eax + ecx*4 + 2], dl
mov bl, 1
jmp 0x43a8b6
mov dl, byte [esi - 1]
mov byte [edi + ecx*4], dl
movzx eax, byte [esi - 2]
mov edx, dword [esp + 0x18]
mov byte [edx + ecx*4 + 1], al
movzx eax, byte [esi - 3]
mov edx, dword [esp + 0x18]
mov byte [edx + ecx*4 + 2], al
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xb0]
cmp dword [eax + ecx*4], edx
jne 0x43a8eb
mov byte [eax + ecx*4], 0
mov eax, dword [esp + 0x18]
mov byte [eax + ecx*4 + 1], 0
mov edx, dword [esp + 0x18]
mov byte [edx + ecx*4 + 2], 0
mov eax, dword [esp + 0x18]
mov byte [eax + ecx*4 + 3], 0
mov eax, dword [esp + 0x18]
mov bl, 1
add ecx, 1
add esi, 4
cmp ecx, ebp
jl 0x43a834
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
push 0x10
call fcn.004abce7
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x43a91f
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov byte [eax + 0xc], 0
jmp 0x43a921
xor eax, eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov dword [ecx], eax
mov dword [eax], edx
mov eax, dword [ecx]
mov dword [eax + 4], esi
mov edx, dword [ecx]
mov dword [edx + 8], edi
mov eax, dword [ecx]
mov ecx, dword [esp + 0x1c]
push ecx
mov byte [eax + 0xc], bl
call fcn.004acb57
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, ebp
je 0x43a95a
push eax
call fcn.004ab965
add esp, 4
cmp dword [esp + 0xa8], 8
jb 0x43a974
mov edx, dword [esp + 0x94]
push edx
call fcn.004abbe4
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0x28