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

Disassembly:
push 0xffffffffffffffff
push 0x49217c
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x24], eax
call fcn.00409c10
xor ebx, ebx
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0xbc], ebx
call fcn.00402ba0
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 1
call fcn.004053d0
mov edx, dword [esp + 0x28]
push ebx
push ebx
push 0x499bb8
lea ecx, [esp + 0x84]
push ecx
push edx
call fcn.00435f50
mov esi, dword [esp + 0x9c]
mov ecx, esi
sub ecx, dword [esp + 0x98]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 0x14
cmp eax, 4
je 0x40ade9
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xb8], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40add9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x78]
call fcn.0040a600
xor eax, eax
jmp 0x40b396
xor edi, edi
mov dword [esp + 0x5c], edi
jmp 0x40adf8
mov esi, dword [esp + 0x88]
sub esi, dword [esp + 0x84]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x40ae1b
call fcn.0046767e
mov eax, dword [esp + 0x84]
lea edx, [edi*8]
sub edx, edi
cmp dword [eax + edx*4 + 0x18], 8
lea eax, [eax + edx*4]
jb 0x40ae3a
mov eax, dword [eax + 4]
jmp 0x40ae3d
add eax, 4
push eax
lea ecx, [esp + 0x24]
call fcn.00402ba0
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 2
call fcn.00405430
lea ecx, [esp + 0x20]
call fcn.00405d20
push 4
call fcn.00443cd4
add esp, 4
cmp eax, ebx
je 0x40ae77
lea ecx, [esp + 0x40]
mov dword [eax], ecx
jmp 0x40ae79
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push 4
mov byte [esp + 0xbc], 4
call fcn.00443cd4
add esp, 4
cmp eax, ebx
je 0x40aea7
lea edx, [esp + 0x60]
mov dword [eax], edx
jmp 0x40aea9
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x60]
push eax
push 1
push 0x499bb0
lea ecx, [esp + 0x4c]
push ecx
push edx
mov byte [esp + 0xcc], 6
call fcn.00435f50
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
add esp, 0x14
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x1c], esi
jle 0x40b229
cmp ebp, eax
jb 0x40af13
call fcn.0046767e
mov ecx, dword [esp + 0x4c]
lea eax, [ebp*8]
sub eax, ebp
cmp dword [ecx + eax*4 + 0x18], 8
lea eax, [ecx + eax*4]
jb 0x40af2f
mov eax, dword [eax + 4]
jmp 0x40af32
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.00402ba0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 7
call fcn.00405430
lea ecx, [esp + 0x18]
call fcn.00405d20
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
xor edi, edi
cmp eax, ebx
jl 0x40b3c0
movzx ecx, word [esi]
movzx edx, cx
cmp dx, 0x30
jb 0x40af94
cmp eax, ebx
jl 0x40b3c0
movzx ecx, cx
cmp cx, 0x39
ja 0x40af94
push esi
call fcn.00467c03
add esp, 4
mov edi, eax
jmp 0x40b124
cmp eax, ebx
jle 0x40b124
push 0x2e
push esi
call fcn.0046792a
add esp, 8
cmp eax, ebx
je 0x40b124
sub eax, dword [esp + 0x18]
sar eax, 1
mov esi, eax
cmp esi, ebx
jle 0x40b124
push esi
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x20]
call fcn.00405580
inc esi
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc0], 8
call fcn.004054d0
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8], 9
call fcn.00405d20
lea ecx, [esp + 0x14]
call fcn.00405430
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.00407ce0
lea edx, [esp + 0x14]
push str.left
push edx
call fcn.004062d0
add esp, 8
test al, al
je 0x40b042
mov edi, dword [esp + 0x30]
jmp 0x40b0d8
lea eax, [esp + 0x14]
push str.right
push eax
call fcn.004062d0
add esp, 8
test al, al
je 0x40b05e
mov edi, dword [esp + 0x38]
jmp 0x40b0d8
lea ecx, [esp + 0x14]
push 0x499b9c
push ecx
call fcn.004062d0
add esp, 8
test al, al
je 0x40b07a
mov edi, dword [esp + 0x34]
jmp 0x40b0d8
lea edx, [esp + 0x14]
push str.bottom
push edx
call fcn.004062d0
add esp, 8
test al, al
je 0x40b096
mov edi, dword [esp + 0x3c]
jmp 0x40b0d8
lea eax, [esp + 0x14]
push str.width
push eax
call fcn.004062d0
add esp, 8
test al, al
je 0x40b0b6
mov edi, dword [esp + 0x38]
sub edi, dword [esp + 0x30]
jmp 0x40b0d8
lea ecx, [esp + 0x14]
push str.height
push ecx
call fcn.004062d0
add esp, 8
test al, al
je 0x40b0d6
mov edi, dword [esp + 0x3c]
sub edi, dword [esp + 0x34]
jmp 0x40b0d8
xor edi, edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xb8], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b100
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0xb8], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b124
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, ebx
jne 0x40b131
mov dword [esp + 0x1c], edi
jmp 0x40b1d5
mov ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x6c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea esi, [ebp - 1]
add ecx, edx
cmp esi, ecx
jb 0x40b158
call fcn.0046767e
mov eax, dword [esp + 0x6c]
lea edx, [esi*8]
push 0xffffffffffffffff
sub edx, esi
xor ecx, ecx
lea eax, [eax + edx*4]
push ebx
mov word [esp + 0x9c], cx
push eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebx
call fcn.00402110
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x94]
mov eax, edx
cmp ecx, 8
jae 0x40b1b0
lea eax, [esp + 0x94]
movzx eax, word [eax]
sub eax, 0x2b
je 0x40b1c3
sub eax, 2
jne 0x40b1c7
sub dword [esp + 0x1c], edi
jmp 0x40b1c7
add dword [esp + 0x1c], edi
cmp ecx, 8
jb 0x40b1d5
push edx
call fcn.00443d03
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xb8], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b1fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x4c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
cmp ebp, eax
jl 0x40af0c
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x5c]
cmp edi, 3
ja case.default.0x40b22e
jmp dword [edi*4 + 0x40b3cc]
mov ecx, dword [esp + 0x24]
mov dword [ecx], esi
jmp case.default.0x40b22e
mov edx, dword [esp + 0x24]
mov dword [edx + 4], esi
jmp case.default.0x40b22e
mov eax, dword [esp + 0x24]
mov dword [eax + 8], esi
jmp case.default.0x40b22e
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0xc], esi
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x40b280
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x6c]
push ecx
push edx
push eax
call fcn.00406630
mov eax, dword [esp + 0x7c]
push eax
call fcn.00443d03
add esp, 0x14
mov ecx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.00443d03
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, ebx
je 0x40b2c3
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
call fcn.00406630
mov eax, dword [esp + 0x5c]
push eax
call fcn.00443d03
add esp, 0x14
mov ecx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.00443d03
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0xb8], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b304
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, 4
mov dword [esp + 0x5c], edi
jl 0x40adf1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xb8], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b339
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x84]
cmp eax, ebx
je 0x40b36f
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x84]
push edx
push ecx
push eax
call fcn.00406630
mov edx, dword [esp + 0x94]
push edx
call fcn.00443d03
add esp, 0x14
mov eax, dword [esp + 0x78]
push eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call fcn.00443d03
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004673e3
add esp, 0xa8
ret 8
push 0x80070057
call fcn.004010a0
mov edi, edi
xor eax, 0x3d0040b2
mov dl, 64
add byte [esi - 0x4e], al
inc eax
add byte [edi - 0x4e], cl
inc eax
add ah, cl
int3