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

Disassembly:
sub esp, 0x15c
mov eax, dword [0x100fd640]
xor eax, esp
mov dword [esp + 0x158], eax
mov ecx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
mov edx, dword [esp + 0x16c]
push ebx
mov ebx, dword [esp + 0x174]
push ebp
mov ebp, dword [esp + 0x180]
push esi
mov esi, dword [esp + 0x16c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x180]
push edi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1a0]
push eax
push esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
call sym.awt.dll__GetNativePrim_8
mov edi, eax
test edi, edi
je 0x10043f21
mov edx, dword [edi + 8]
mov eax, dword [edx + 8]
test eax, eax
je 0x10043bb2
push ebx
lea ecx, [esp + 0x160]
push ecx
push esi
call eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x138]
push edx
push eax
push esi
call sym.awt.dll__Region_GetInfo_12
test eax, eax
jne 0x10043f21
mov ecx, dword [esp + 0x10]
push ecx
push esi
call sym.awt.dll__SurfaceData_GetOps_8
mov ebx, eax
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x10043f21
mov edx, dword [esp + 0x20]
push edx
push esi
call sym.awt.dll__SurfaceData_GetOps_8
mov dword [esp + 0x10], eax
test eax, eax
je 0x10043f21
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x198]
mov dword [esp + 0xc0], eax
add eax, dword [esp + 0x19c]
lea ecx, [edx + ebp]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x190]
add edx, eax
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x194]
sub dword [esp + 0x18], ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x19c]
mov dword [esp + 0xbc], ebp
sub ebp, eax
mov dword [esp + 0x40], eax
add edx, ecx
lea eax, [esp + 0x138]
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x28], ebp
call sym.awt.dll__SurfaceData_IntersectBounds_8
mov edx, dword [edi + 0x18]
mov ecx, dword [ebx]
push edx
lea eax, [esp + 0xc0]
push eax
push ebx
push esi
call ecx
add esp, 0x10
test eax, eax
jne 0x10043f21
mov edx, dword [edi + 0x1c]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
push esi
call ecx
add esp, 0x10
test eax, eax
jne 0x10043f0b
mov eax, dword [esp + 0x18]
push eax
push ebp
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x4c]
push edx
call sym.awt.dll__SurfaceData_IntersectBlitBounds_16
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x13c]
push ecx
call sym.awt.dll__SurfaceData_IntersectBounds_8
mov edx, dword [esp + 0x138]
cmp edx, dword [esp + 0x140]
jge 0x10043ef4
mov eax, dword [esp + 0x13c]
cmp eax, dword [esp + 0x144]
jge 0x10043ef4
mov edx, dword [ebx + 4]
lea ecx, [esp + 0xbc]
push ecx
push ebx
push esi
call edx
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push eax
push esi
call ecx
add esp, 0x18
cmp dword [esp + 0xcc], 0
je 0x10043ec5
cmp dword [esp + 0x50], 0
je 0x10043ec5
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10043d5b
mov edx, dword [esi]
push 0
push eax
mov eax, dword [edx + 0x378]
push esi
call eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
jmp 0x10043d63
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x10043d85
cmp dword [esp + 0x14], 0
je 0x10043ec5
lea eax, [esp + 0x138]
push eax
push esi
call sym.awt.dll__Region_StartIteration_8
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x13c]
push edx
call fcn.1009e019
test eax, eax
je 0x10043e89
mov ebx, dword [esp + 0x1a4]
jmp 0x10043dc4
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, edx
sub eax, dword [esp + 0x194]
mov dword [esp + 0x40], ecx
imul eax, dword [esp + 0x1a8]
sub eax, dword [esp + 0x190]
add eax, ecx
add ebx, eax
lea eax, [ecx + ebp]
lea ebp, [esp + 0x15c]
push ebp
push edi
lea ebp, [esp + 0xc4]
push ebp
lea ebp, [esp + 0x4c]
push ebp
mov ebp, dword [esp + 0x4c]
sub ebp, edx
push ebp
mov ebp, dword [esp + 0x4c]
sub ebp, ecx
push ebp
mov ebp, dword [esp + 0x1c0]
push ebp
mov ebp, dword [esp + 0x30]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
add ebp, edx
imul ebp, dword [esp + 0xfc]
add ebp, dword [esp + 0xf0]
mov dword [esp + 0xe0], eax
imul eax, dword [esp + 0xf8]
add eax, ebp
push eax
mov eax, dword [esp + 0x80]
imul eax, ecx
mov ecx, dword [esp + 0x84]
add eax, dword [esp + 0x78]
imul ecx, edx
mov edx, dword [edi + 0x10]
add ecx, eax
push ecx
call edx
add esp, 0x2c
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x13c]
push ecx
call fcn.1009e019
test eax, eax
jne 0x10043dc0
mov ebx, dword [esp + 0x28]
lea edx, [esp + 0x138]
push edx
push esi
call sym.awt.dll__Region_EndIteration_8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10043eb2
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi]
push 2
push eax
mov eax, dword [ecx + 0x37c]
push edx
push esi
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x40], edx
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 8]
test eax, eax
je 0x10043edc
lea ecx, [esp + 0x40]
push ecx
push edi
push esi
call eax
add esp, 0xc
mov eax, dword [ebx + 8]
test eax, eax
je 0x10043ef8
lea edx, [esp + 0xbc]
push edx
push ebx
push esi
call eax
add esp, 0xc
jmp 0x10043ef8
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10043f0b
lea ecx, [esp + 0x40]
push ecx
push edi
push esi
call eax
add esp, 0xc
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10043f21
lea edx, [esp + 0xbc]
push edx
push ebx
push esi
call eax
add esp, 0xc
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b4c22
add esp, 0x15c
ret 0x3c