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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x47ee6c
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x49c4b0]
xor eax, esp
mov dword [esp + 0x2d4], eax
push esi
push edi
mov eax, dword [0x49c4b0]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov dword [esp + 0x3c], edx
mov eax, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], ecx
test edx, edx
je 0x4354c8
test eax, eax
je 0x4354c8
lea eax, [esp + 0x1d0]
mov dword [esp + 0x1cc], eax
lea ecx, [esp + 0x1cc]
push 0xffffffffffffffff
xor eax, eax
push esi
mov word [esp + 0x1d8], ax
call fcn.0041c910
lea eax, [esp + 0x258]
mov dword [esp + 0x2f0], 0
mov dword [esp + 0x254], eax
xor eax, eax
mov word [esp + 0x258], ax
movdqu xmm0, xmmword [edi]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x30], al
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc0]
movdqa xmmword [esp + 0x84], xmm0
movdqa xmmword [esp + 0x54], xmm0
xorps xmm0, xmm0
mov dword [esp + 0xbc], eax
xor eax, eax
movdqa xmmword [esp + 0x94], xmm0
movdqa xmmword [esp + 0x74], xmm0
movdqa xmmword [esp + 0xa4], xmm0
movdqa xmmword [esp + 0x64], xmm0
mov byte [esp + 0x24], 0xff
mov word [esp + 0xc0], ax
lea eax, [esp + 0x148]
mov dword [esp + 0x144], eax
xor eax, eax
mov word [esp + 0x148], ax
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x2f0], 3
mov edi, dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], eax
cmp eax, 1
cmove esi, ecx
test esi, esi
je 0x4353cd
cmp word [esi], 0
je 0x4353cd
lea ebx, [ebx]
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xc0]
cmp eax, ecx
je 0x434afb
push eax
call fcn.0045ebf9
add esp, 4
lea eax, [esp + 0xc0]
mov dword [esp + 0xbc], eax
lea ecx, [esp + 0x148]
xor eax, eax
mov word [esp + 0xc0], ax
mov eax, dword [esp + 0x144]
cmp eax, ecx
je 0x434b2e
push eax
call fcn.0045ebf9
add esp, 4
lea eax, [esp + 0x148]
mov dword [esp + 0x144], eax
xor eax, eax
mov word [esp + 0x148], ax
movzx eax, word [esi]
test ax, ax
je 0x434b63
mov edi, edi
cmp ax, 0x20
ja 0x434b63
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x434b50
movzx eax, word [esi]
test ax, ax
je 0x434bde
jmp 0x434b70
cmp ax, 0x3d
je 0x434bde
cmp ax, 0x20
jbe 0x434bde
push esi
call edi
mov edi, eax
mov dword [esp + 0x14], 0
sub edi, esi
xor ecx, ecx
inc edi
shr edi, 1
cmp esi, eax
cmova edi, ecx
test edi, edi
je 0x434bd0
lea esp, [esp]
mov ax, word [esi]
lea ecx, [esp + 0xbc]
mov word [esp + 0x48], ax
xor eax, eax
mov word [esp + 0x4a], ax
lea eax, [esp + 0x48]
push eax
call fcn.0041c7e0
mov eax, dword [esp + 0x14]
add esi, 2
inc eax
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x434ba0
movzx eax, word [esi]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
test ax, ax
jne 0x434b70
movzx eax, word [esi]
test ax, ax
je 0x434bf9
cmp ax, 0x20
ja 0x434bf9
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x434be6
mov ax, word [esi]
add esi, 2
cmp ax, 0x3d
jne 0x4353bf
movzx eax, word [esi]
test ax, ax
je 0x434c24
cmp ax, 0x20
ja 0x434c24
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x434c11
mov ax, word [esi]
add esi, 2
cmp ax, 0x27
jne 0x4353bf
movzx eax, word [esi]
test ax, ax
je 0x434cae
lea esp, [esp]
cmp ax, 0x27
je 0x434cae
push esi
call edi
mov edi, eax
mov dword [esp + 0x14], 0
sub edi, esi
xor ecx, ecx
inc edi
shr edi, 1
cmp esi, eax
cmova edi, ecx
test edi, edi
je 0x434ca0
jmp 0x434c70
mov ax, word [esi]
lea ecx, [esp + 0x144]
mov word [esp + 0x40], ax
xor eax, eax
mov word [esp + 0x42], ax
lea eax, [esp + 0x40]
push eax
call fcn.0041c7e0
mov eax, dword [esp + 0x14]
add esi, 2
inc eax
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x434c70
movzx eax, word [esi]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
test ax, ax
jne 0x434c40
mov ax, word [esi]
add esi, 2
cmp ax, 0x27
jne 0x4353bf
mov eax, dword [esp + 0x144]
movzx edi, word [eax]
test di, di
je 0x4353a3
mov eax, dword [esp + 0xbc]
mov ecx, 0x48f99c
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x434d06
test dx, dx
je 0x434d02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x434d06
add eax, 4
add ecx, 4
test dx, dx
jne 0x434ce0
xor eax, eax
jmp 0x434d0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x435221
mov eax, dword [esp + 0xbc]
mov ecx, 0x48f9a8
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x434d46
test dx, dx
je 0x434d42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x434d46
add eax, 4
add ecx, 4
test dx, dx
jne 0x434d20
xor eax, eax
jmp 0x434d4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x435221
mov eax, dword [esp + 0xbc]
mov ecx, str.restype
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x434d86
test dx, dx
je 0x434d82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x434d86
add eax, 4
add ecx, 4
test dx, dx
jne 0x434d60
xor eax, eax
jmp 0x434d8b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x434e2f
mov edi, dword [esp + 0x18]
test edi, edi
jle 0x434e10
movdqa xmm0, xmmword [esp + 0xa4]
sub esp, 0x10
mov eax, esp
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov ecx, dword [esp + 0x58]
movdqu xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movdqa xmm0, xmmword [esp + 0xc4]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqa xmm0, xmmword [esp + 0xb4]
push dword [esp + 0x60]
push dword [esp + 0x60]
movdqu xmmword [eax], xmm0
lea eax, [esp + 0x28c]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x5c]
push eax
lea eax, [esp + 0x214]
push eax
push dword [esp + 0x80]
push dword [esp + 0x78]
call fcn.004347a0
add esp, 0x54
push 0xffffffffffffffff
push dword [esp + 0x148]
lea ecx, [esp + 0x25c]
call fcn.0041c910
inc edi
mov dword [esp + 0x18], edi
jmp 0x4353a3
mov eax, dword [esp + 0xbc]
mov ecx, str.dest
jmp 0x434e40
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x434e66
test dx, dx
je 0x434e62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x434e66
add eax, 4
add ecx, 4
test dx, dx
jne 0x434e40
xor eax, eax
jmp 0x434e6b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x434f12
push 0xa
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14c]
call fcn.0047944f
mov edi, dword [esp + 0x34]
add esp, 0xc
add eax, dword [edi]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047944f
add eax, dword [edi + 4]
add esp, 0xc
mov dword [esp + 0x58], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047944f
add eax, dword [edi]
add esp, 0xc
cmp eax, dword [edi + 8]
cmovg eax, dword [edi + 8]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047944f
add eax, dword [edi + 4]
add esp, 0xc
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x60], eax
cmp eax, ecx
jle 0x434efe
mov dword [esp + 0x60], ecx
movdqa xmm0, xmmword [esp + 0x54]
movdqa xmmword [esp + 0x84], xmm0
jmp 0x4353a3
mov eax, dword [esp + 0xbc]
mov ecx, str.source
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x434f46
test dx, dx
je 0x434f42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x434f46
add eax, 4
add ecx, 4
test dx, dx
jne 0x434f20
xor eax, eax
jmp 0x434f4b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x434fd5
push 0xa
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14c]
call fcn.0047944f
add esp, 0xc
mov dword [esp + 0x74], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047944f
add esp, 0xc
mov dword [esp + 0x78], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047944f
add esp, 0xc
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047944f
mov dword [esp + 0x8c], eax
add esp, 0xc
movdqa xmm0, xmmword [esp + 0x74]
movdqa xmmword [esp + 0x94], xmm0
jmp 0x4353a3
push str.corner
lea ecx, [esp + 0xc0]
call fcn.0041c9f0
test al, al
je 0x435069
push 0xa
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14c]
call fcn.0047944f
add esp, 0xc
mov dword [esp + 0x64], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047944f
add esp, 0xc
mov dword [esp + 0x68], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047944f
add esp, 0xc
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047944f
mov dword [esp + 0x7c], eax
add esp, 0xc
movdqa xmm0, xmmword [esp + 0x64]
movdqa xmmword [esp + 0xa4], xmm0
jmp 0x4353a3
push str.mask
lea ecx, [esp + 0xc0]
call fcn.0041c9f0
test al, al
je 0x4350be
lea eax, [esp + 0x10]
push 0x10
push eax
cmp edi, 0x23
jne 0x4350a6
mov eax, dword [esp + 0x14c]
add eax, 2
push eax
call fcn.00479467
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x4353a3
push dword [esp + 0x14c]
call fcn.00479467
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x4353a3
push str.fade
lea ecx, [esp + 0xc0]
call fcn.0041c9f0
test al, al
je 0x4350f2
push 0xa
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14c]
call fcn.00479467
add esp, 0xc
mov byte [esp + 0x24], al
jmp 0x4353a3
push str.hole
lea ecx, [esp + 0xc0]
call fcn.0041c9f0
test al, al
je 0x435154
mov eax, dword [esp + 0x144]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435143
test dx, dx
je 0x435135
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435143
add eax, 4
add ecx, 4
test dx, dx
jne 0x435113
xor eax, eax
test eax, eax
sete byte [esp + 0x20]
jmp 0x4353a3
sbb eax, eax
or eax, 1
test eax, eax
sete byte [esp + 0x20]
jmp 0x4353a3
push str.xtiled
lea ecx, [esp + 0xc0]
call fcn.0041c9f0
test al, al
je 0x4351b6
mov eax, dword [esp + 0x144]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4351a5
test dx, dx
je 0x435197
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4351a5
add eax, 4
add ecx, 4
test dx, dx
jne 0x435175
xor eax, eax
test eax, eax
sete byte [esp + 0x2c]
jmp 0x4353a3
sbb eax, eax
or eax, 1
test eax, eax
sete byte [esp + 0x2c]
jmp 0x4353a3
push str.ytiled
lea ecx, [esp + 0xc0]
call fcn.0041c9f0
test al, al
je 0x4353a3
mov eax, dword [esp + 0x144]
mov ecx, str.true
jmp 0x4351e0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435210
test dx, dx
je 0x435202
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435210
add eax, 4
add ecx, 4
test dx, dx
jne 0x4351e0
xor eax, eax
test eax, eax
sete byte [esp + 0x30]
jmp 0x4353a3
sbb eax, eax
or eax, 1
test eax, eax
sete byte [esp + 0x30]
jmp 0x4353a3
cmp dword [esp + 0x18], 0
jle 0x43529d
movdqa xmm0, xmmword [esp + 0xa4]
sub esp, 0x10
mov eax, esp
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov ecx, dword [esp + 0x58]
movdqu xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movdqa xmm0, xmmword [esp + 0xc4]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqa xmm0, xmmword [esp + 0xb4]
push dword [esp + 0x60]
push dword [esp + 0x60]
movdqu xmmword [eax], xmm0
lea eax, [esp + 0x28c]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x5c]
push eax
lea eax, [esp + 0x214]
push eax
push dword [esp + 0x80]
push dword [esp + 0x78]
call fcn.004347a0
add esp, 0x54
mov eax, dword [esp + 0x144]
mov edx, 0x487538
test eax, eax
cmovne edx, eax
mov edi, edx
mov dword [esp + 0x50], edx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4352b7
mov edx, dword [esp + 0x1cc]
sub edi, ecx
sar edi, 1
cmp edi, 0x3f
jge 0x4352ef
lea eax, [esp + 0x1d0]
cmp edx, eax
je 0x435349
push edx
call fcn.0045ebf9
add esp, 4
lea edx, [esp + 0x1d0]
jmp 0x435342
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x14], eax
jmp 0x435300
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435300
sub ecx, dword [esp + 0x14]
lea eax, [esp + 0x1d0]
sar ecx, 1
cmp edi, ecx
jg 0x435322
cmp edx, eax
jne 0x435349
jmp 0x435326
cmp edx, eax
jne 0x43532f
xor edx, edx
mov dword [esp + 0x1cc], edx
lea eax, [edi*2 + 2]
push eax
push edx
call fcn.004704bd
add esp, 8
mov edx, eax
mov dword [esp + 0x1cc], edx
push edi
push dword [esp + 0x54]
push edx
call fcn.0047c477
mov eax, dword [esp + 0x1d8]
add esp, 0xc
xor ecx, ecx
mov word [eax + edi*2], cx
mov ecx, 0x48f99c
mov eax, dword [esp + 0xbc]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435396
test dx, dx
je 0x435392
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435396
add eax, 4
add ecx, 4
test dx, dx
jne 0x435370
xor eax, eax
jmp 0x43539b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4353a3
inc dword [esp + 0x18]
mov ax, word [esi]
add esi, 2
cmp ax, 0x20
jne 0x4353bf
cmp word [esi], 0
mov edi, dword [sym.imp.USER32.dll_CharNextW]
jne 0x434ae0
mov edi, dword [sym.imp.USER32.dll_CharNextW]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x44], eax
cmp eax, 2
jl 0x434ac2
movdqa xmm0, xmmword [esp + 0xa4]
sub esp, 0x10
mov eax, esp
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov ecx, dword [esp + 0x58]
movdqu xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movdqa xmm0, xmmword [esp + 0xc4]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqa xmm0, xmmword [esp + 0xb4]
push dword [esp + 0x60]
push dword [esp + 0x60]
movdqu xmmword [eax], xmm0
lea eax, [esp + 0x28c]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x5c]
push eax
lea eax, [esp + 0x214]
push eax
push dword [esp + 0x80]
push dword [esp + 0x78]
call fcn.004347a0
mov eax, dword [esp + 0x198]
lea ecx, [esp + 0x19c]
add esp, 0x54
cmp eax, ecx
je 0x435473
push eax
call fcn.0045ebf9
add esp, 4
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xc0]
cmp eax, ecx
je 0x43548e
push eax
call fcn.0045ebf9
add esp, 4
mov eax, dword [esp + 0x254]
lea ecx, [esp + 0x258]
cmp eax, ecx
je 0x4354a9
push eax
call fcn.0045ebf9
add esp, 4
mov eax, dword [esp + 0x1cc]
lea ecx, [esp + 0x1d0]
cmp eax, ecx
je 0x4354c4
push eax
call fcn.0045ebf9
add esp, 4
mov al, 1
jmp 0x4354ca
xor al, al
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2d4]
xor ecx, esp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret