Function at 0x40aa40
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa4]
push edi
xor edi, edi
push edi
push edi
push edi
push str.1.2.8
mov dword [esi + 4], edi
call fcn.00438410
add esp, 0x10
cmp eax, edi
mov dword [esp + 0x44], eax
je 0x40ac4b
push eax
call fcn.00439760
add esp, 4
cmp eax, edi
mov dword [esp + 0x50], eax
jne 0x40aa8a
push edi
push edi
jmp 0x40ac3e
mov ecx, dword [esp + 0x44]
push 0x40aa00
push esi
push ecx
call fcn.004395a0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
push edx
push eax
call fcn.00438660
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0xc0]
push edx
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x5c]
push ecx
push edx
push eax
call fcn.004382e0
mov eax, dword [esp + 0xfc]
add esp, 0x38
cmp eax, edi
je 0x40ab15
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
jmp 0x40ab30
mov eax, dword [0x461ff8]
mov ecx, dword [0x461ffc]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov esi, dword [esp + 0xb0]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0xb4]
mov eax, dword [esp + 0x4c]
add edx, esi
add eax, ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x88], edx
push ecx
lea edx, [esp + 0x84]
mov dword [esp + 0x90], eax
push edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ebx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x40aba5
push edi
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.004391f0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x94
ret
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov eax, ebp
sub eax, esi
mov dword [esp + 0x3c], eax
mov eax, edi
sub eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
sub eax, ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x7c]
sub eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esp + 0x4c], ebp
call fcn.00439c80
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
push ecx
push edx
call fcn.00438a00
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
push eax
push ecx
call fcn.004382a0
mov edx, dword [esp + 0x64]
mov ebx, eax
mov eax, dword [esp + 0x58]
push edx
push eax
mov dword [esp + 0x48], ebx
call fcn.004382c0
mov ecx, ebx
imul ecx, dword [esp + 0x68]
add esp, 0x1c
push ecx
and eax, 0xff
push 0x40
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
mov dword [esp + 0x38], esi
jne 0x40ac58
push eax
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.004391f0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x94
ret
mov ecx, dword [esp + 0x4c]
lea edx, [ecx*4]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x40ac9b
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.004391f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x94
ret
mov eax, dword [esp + 0x4c]
xor ecx, ecx
test eax, eax
jbe 0x40acb9
mov eax, dword [esp + 0x18]
mov dword [eax], esi
mov edx, dword [esp + 0x4c]
inc ecx
add esi, ebx
add eax, 4
cmp ecx, edx
jb 0x40aca9
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
push esi
push edx
call fcn.00438ef0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x44]
push 0
push eax
call fcn.00438f40
push 0
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004391f0
mov ecx, dword [esp + 0xd0]
add esp, 0x14
xor eax, eax
test ecx, 0x10000000
mov esi, 0x100
je 0x40ad38
mov eax, ecx
xor ecx, ecx
mov cl, byte [esp + 0xc2]
xor edx, edx
shr eax, 0xc
and eax, 0x1ff
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xc0]
mov dl, ch
and ecx, 0xff
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0xbc]
test ecx, 0x8000000
je 0x40ad4f
mov esi, ecx
and esi, 0x1ff
mov edx, dword [esp + 0x28]
sub edx, 3
je 0x40b793
dec edx
jne 0x40c00b
mov ecx, dword [esp + 0xbc]
test ecx, 0x18000000
je 0x40b362
and ecx, 0x60000000
jne 0x40aedb
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0xac]
mov edx, ebx
imul edx, dword [esp + 0x14]
add ecx, edi
lea ebp, [ebp + ebp*2]
add ebp, ecx
mov ecx, dword [esp + 0x38]
add ecx, edx
mov edx, dword [esp + 0x3c]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x24]
test edx, edx
jbe 0x40aeb0
mov dword [esp + 0x18], edx
xor ebx, ebx
mov bl, byte [ecx + 1]
xor edx, edx
mov dl, byte [ecx]
add ebp, 3
add ecx, 4
mov dword [esp + 0x34], ebx
xor ebx, ebx
mov bl, byte [ecx - 2]
mov dword [esp + 0x48], edx
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov bl, byte [ecx - 1]
mov edi, ebx
xor ebx, ebx
imul edi, esi
mov bl, byte [ebp - 3]
shr edi, 8
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov ebx, dword [esp + 0x5c]
sub ebx, edx
imul ebx, eax
shr ebx, 8
add bl, dl
mov edx, dword [esp + 0x10]
and ebx, 0xff
sub ebx, edx
imul ebx, edi
shr ebx, 8
add bl, dl
xor edx, edx
mov dl, byte [ebp - 2]
mov byte [ebp - 3], bl
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
xor edx, edx
mov edx, dword [esp + 0x58]
sub edx, ebx
imul edx, eax
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x10]
and edx, 0xff
sub edx, ebx
imul edx, edi
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x14]
mov byte [ebp - 2], dl
xor edx, edx
mov dl, byte [ebp - 1]
mov dword [esp + 0x10], edx
xor edx, edx
mov edx, dword [esp + 0x54]
sub edx, ebx
imul edx, eax
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x10]
and edx, 0xff
sub edx, ebx
imul edx, edi
shr edx, 8
add dl, bl
mov byte [ebp - 1], dl
dec dword [esp + 0x18]
jne 0x40add9
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0xb8]
mov edx, dword [esp + 0x40]
add ecx, ebx
add ebp, edi
dec edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], edx
jne 0x40adc9
jmp 0x40c00b
cmp ecx, 0x40000000
jne 0x40b058
mov ecx, dword [esp + 0x3c]
inc ecx
mov edx, ecx
shl edx, 0x1e
sub edx, ecx
add edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
shl edx, 2
test ecx, ecx
mov dword [esp + 0x30], edx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0x38]
mov edx, ebx
imul edx, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0xac]
add ecx, edi
lea ebp, [ebp + ebp*2]
add ebp, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
add ecx, edx
test edi, edi
jbe 0x40b031
mov edx, edi
mov dword [esp + 0x18], edx
xor ebx, ebx
mov bl, byte [ecx + 1]
xor edx, edx
mov dl, byte [ecx]
add ebp, 3
sub ecx, 4
mov dword [esp + 0x34], ebx
xor ebx, ebx
mov bl, byte [ecx + 6]
mov dword [esp + 0x48], edx
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov bl, byte [ecx + 7]
mov edi, ebx
xor ebx, ebx
imul edi, esi
mov bl, byte [ebp - 3]
shr edi, 8
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov ebx, dword [esp + 0x5c]
sub ebx, edx
imul ebx, eax
shr ebx, 8
add bl, dl
mov edx, dword [esp + 0x10]
and ebx, 0xff
sub ebx, edx
imul ebx, edi
shr ebx, 8
add bl, dl
xor edx, edx
mov dl, byte [ebp - 2]
mov byte [ebp - 3], bl
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
xor edx, edx
mov edx, dword [esp + 0x58]
sub edx, ebx
imul edx, eax
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x10]
and edx, 0xff
sub edx, ebx
imul edx, edi
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x14]
mov byte [ebp - 2], dl
xor edx, edx
mov dl, byte [ebp - 1]
mov dword [esp + 0x10], edx
xor edx, edx
mov edx, dword [esp + 0x54]
sub edx, ebx
imul edx, eax
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x10]
and edx, 0xff
sub edx, ebx
imul edx, edi
shr edx, 8
add dl, bl
mov byte [ebp - 1], dl
dec dword [esp + 0x18]
jne 0x40af56
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0x40]
add edx, ebx
add ebp, edi
dec ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], ecx
jne 0x40af3e
jmp 0x40c00b
cmp ecx, 0x20000000
jne 0x40b1d4
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
sub ecx, edx
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0xac]
mov edx, ebx
imul ebx, dword [esp + 0x14]
add ecx, edi
mov edi, dword [esp + 0x3c]
lea ebp, [ebp + ebp*2]
add ebp, ecx
mov ecx, dword [esp + 0x38]
neg edx
add ecx, ebx
lea ecx, [ecx + edi*4]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x24]
test edi, edi
jbe 0x40b1a9
mov edx, edi
mov dword [esp + 0x2c], edx
xor ebx, ebx
mov bl, byte [ecx + 1]
xor edx, edx
mov dl, byte [ecx]
add ebp, 3
add ecx, 4
mov dword [esp + 0x34], ebx
xor ebx, ebx
mov bl, byte [ecx - 2]
mov dword [esp + 0x48], edx
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov bl, byte [ecx - 1]
mov edi, ebx
xor ebx, ebx
imul edi, esi
mov bl, byte [ebp - 3]
shr edi, 8
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov ebx, dword [esp + 0x5c]
sub ebx, edx
imul ebx, eax
shr ebx, 8
add bl, dl
mov edx, dword [esp + 0x10]
and ebx, 0xff
sub ebx, edx
imul ebx, edi
shr ebx, 8
add bl, dl
xor edx, edx
mov dl, byte [ebp - 2]
mov byte [ebp - 3], bl
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
xor edx, edx
mov edx, dword [esp + 0x58]
sub edx, ebx
imul edx, eax
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x10]
and edx, 0xff
sub edx, ebx
imul edx, edi
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x14]
mov byte [ebp - 2], dl
xor edx, edx
mov dl, byte [ebp - 1]
mov dword [esp + 0x10], edx
xor edx, edx
mov edx, dword [esp + 0x54]
sub edx, ebx
imul edx, eax
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x10]
and edx, 0xff
sub edx, ebx
imul edx, edi
shr edx, 8
add dl, bl
mov byte [ebp - 1], dl
dec dword [esp + 0x2c]
jne 0x40b0d2
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0xb8]
mov edi, dword [esp + 0x20]
add ecx, edx
add ebp, ebx
dec edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edi
jne 0x40b0c0
jmp 0x40c00b
cmp ecx, 0x60000000
jne 0x40c00b
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov ecx, edx
shl ecx, 0x1e
sub ecx, edx
add ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
shl ecx, 2
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x4c]
sub ecx, edx
mov edx, dword [esp + 0x10]
dec ecx
test edx, edx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov edx, ebx
imul ebx, ecx
add ebx, dword [esp + 0x38]
mov ecx, ebx
mov ebx, dword [esp + 0xac]
add ebx, edi
mov edi, dword [esp + 0x10]
neg edx
lea ebp, [ebp + ebp*2]
add ebp, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x30]
add ecx, edi
mov edi, dword [esp + 0x24]
test edi, edi
jbe 0x40b337
mov edx, edi
mov dword [esp + 0x2c], edx
xor ebx, ebx
mov bl, byte [ecx + 1]
xor edx, edx
mov dl, byte [ecx]
add ebp, 3
sub ecx, 4
mov dword [esp + 0x34], ebx
xor ebx, ebx
mov bl, byte [ecx + 6]
mov dword [esp + 0x48], edx
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov bl, byte [ecx + 7]
mov edi, ebx
xor ebx, ebx
imul edi, esi
mov bl, byte [ebp - 3]
shr edi, 8
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov ebx, dword [esp + 0x5c]
sub ebx, edx
imul ebx, eax
shr ebx, 8
add bl, dl
mov edx, dword [esp + 0x10]
and ebx, 0xff
sub ebx, edx
imul ebx, edi
shr ebx, 8
add bl, dl
xor edx, edx
mov dl, byte [ebp - 2]
mov byte [ebp - 3], bl
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
xor edx, edx
mov edx, dword [esp + 0x58]
sub edx, ebx
imul edx, eax
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x10]
and edx, 0xff
sub edx, ebx
imul edx, edi
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x14]
mov byte [ebp - 2], dl
xor edx, edx
mov dl, byte [ebp - 1]
mov dword [esp + 0x10], edx
xor edx, edx
mov edx, dword [esp + 0x54]
sub edx, ebx
imul edx, eax
shr edx, 8
add dl, bl
mov ebx, dword [esp + 0x10]
and edx, 0xff
sub edx, ebx
imul edx, edi
shr edx, 8
add dl, bl
mov byte [ebp - 1], dl
dec dword [esp + 0x2c]
jne 0x40b260
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0xb8]
mov edi, dword [esp + 0x20]
add ecx, edx
add ebp, ebx
dec edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edi
jne 0x40b248
jmp 0x40c00b
mov eax, ecx
and eax, 0x60000000
jne 0x40b45c
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x38]
mov ecx, ebx
imul ecx, dword [esp + 0x14]
add eax, edi
lea ebp, [ebp + ebp*2]
add ebp, eax
mov eax, dword [esp + 0x3c]
add edx, ecx
mov ecx, dword [esp + 0x10]
lea edi, [edx + eax*4]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ecx
test eax, eax
mov esi, ebp
jbe 0x40b431
mov dword [esp + 0x2c], eax
xor eax, eax
mov al, byte [edi + 3]
xor edx, edx
mov dl, byte [edi + 2]
xor ecx, ecx
mov cl, byte [edi + 1]
add esi, 3
add edi, 4
mov ebp, eax
xor eax, eax
mov al, byte [esi - 3]
mov dword [esp + 0x14], edx
xor edx, edx
mov dl, byte [edi - 4]
sub edx, eax
imul edx, ebp
shr edx, 8
add dl, al
xor eax, eax
mov al, byte [esi - 2]
mov byte [esi - 3], dl
sub ecx, eax
imul ecx, ebp
shr ecx, 8
add cl, al
xor eax, eax
mov al, byte [esi - 1]
mov byte [esi - 2], cl
mov ecx, dword [esp + 0x14]
sub ecx, eax
imul ecx, ebp
shr ecx, 8
add cl, al
mov eax, dword [esp + 0x2c]
mov byte [esi - 1], cl
dec eax
mov dword [esp + 0x2c], eax
jne 0x40b3c4
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x20]
add edi, ebx
add ebp, edx
dec ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
jne 0x40b3ba
jmp 0x40c00b
cmp eax, 0x40000000
jne 0x40b56f
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
lea eax, [edx + 1]
mov ecx, eax
shl ecx, 0x1e
sub ecx, eax
mov eax, dword [esp + 0x10]
add ecx, esi
shl ecx, 2
test eax, eax
mov dword [esp + 0x30], ecx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov edx, dword [esp + 0x38]
mov eax, ebx
imul eax, dword [esp + 0x14]
add eax, edx
mov edx, dword [esp + 0xac]
add edx, edi
lea ebp, [ebp + ebp*2]
add ebp, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
test edx, edx
lea edi, [eax + ecx]
mov esi, ebp
jbe 0x40b548
mov dword [esp + 0x2c], edx
xor eax, eax
mov al, byte [edi + 2]
xor edx, edx
mov dl, byte [edi + 3]
xor ecx, ecx
mov cl, byte [edi + 1]
add esi, 3
sub edi, 4
mov dword [esp + 0x14], eax
xor eax, eax
mov al, byte [esi - 3]
mov ebp, edx
xor edx, edx
mov dl, byte [edi + 4]
sub edx, eax
imul edx, ebp
shr edx, 8
add dl, al
xor eax, eax
mov al, byte [esi - 2]
mov byte [esi - 3], dl
sub ecx, eax
imul ecx, ebp
shr ecx, 8
add cl, al
xor eax, eax
mov al, byte [esi - 1]
mov byte [esi - 2], cl
mov ecx, dword [esp + 0x14]
sub ecx, eax
imul ecx, ebp
shr ecx, 8
add cl, al
mov eax, dword [esp + 0x2c]
mov byte [esi - 1], cl
dec eax
mov dword [esp + 0x2c], eax
jne 0x40b4d3
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xb8]
mov esi, dword [esp + 0x20]
add eax, ebx
add ebp, edi
dec esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
jne 0x40b4c6
jmp 0x40c00b
cmp eax, 0x20000000
jne 0x40b676
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub eax, esi
dec eax
test ecx, ecx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov edx, dword [esp + 0xac]
mov ecx, ebx
imul ebx, eax
mov eax, dword [esp + 0x38]
add edx, edi
lea ebp, [ebp + ebp*2]
add ebp, edx
mov edx, dword [esp + 0x3c]
neg ecx
add eax, ebx
lea esi, [eax + edx*4]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
test edx, edx
mov eax, ebp
jbe 0x40b64b
mov dword [esp + 0x2c], edx
xor edx, edx
mov dl, byte [esi + 3]
xor ecx, ecx
mov cl, byte [esi + 1]
xor ebx, ebx
mov bl, byte [esi + 2]
add eax, 3
add esi, 4
mov edi, edx
xor edx, edx
mov dl, byte [esi - 4]
mov ebp, ecx
xor ecx, ecx
mov cl, byte [eax - 3]
sub edx, ecx
imul edx, edi
shr edx, 8
add dl, cl
xor ecx, ecx
mov cl, byte [eax - 2]
mov byte [eax - 3], dl
mov edx, ebp
sub edx, ecx
imul edx, edi
shr edx, 8
add dl, cl
xor ecx, ecx
mov cl, byte [eax - 1]
mov byte [eax - 2], dl
sub ebx, ecx
imul ebx, edi
shr ebx, 8
add bl, cl
mov ecx, dword [esp + 0x2c]
mov byte [eax - 1], bl
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x40b5de
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0xb8]
mov eax, dword [esp + 0x20]
add esi, ecx
add ebp, edi
dec eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jne 0x40b5d4
jmp 0x40c00b
cmp eax, 0x60000000
jne 0x40c00b
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
inc eax
mov ecx, eax
shl ecx, 0x1e
sub ecx, eax
add ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
sub eax, edx
mov edx, dword [esp + 0x10]
shl ecx, 2
dec eax
test edx, edx
mov dword [esp + 0x30], ecx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov edx, ebx
imul ebx, eax
add ebx, dword [esp + 0x38]
mov eax, dword [esp + 0xac]
add eax, edi
mov edi, dword [esp + 0x24]
neg edx
lea ebp, [ebp + ebp*2]
add ebp, eax
mov eax, dword [esp + 0x10]
mov esi, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
add esi, ecx
test edi, edi
mov eax, ebp
jbe 0x40b768
mov dword [esp + 0x2c], edi
xor edx, edx
mov dl, byte [esi + 3]
xor ecx, ecx
mov cl, byte [esi + 1]
xor ebx, ebx
mov bl, byte [esi + 2]
add eax, 3
sub esi, 4
mov edi, edx
xor edx, edx
mov dl, byte [esi + 4]
mov ebp, ecx
xor ecx, ecx
mov cl, byte [eax - 3]
sub edx, ecx
imul edx, edi
shr edx, 8
add dl, cl
xor ecx, ecx
mov cl, byte [eax - 2]
mov byte [eax - 3], dl
mov edx, ebp
sub edx, ecx
imul edx, edi
shr edx, 8
add dl, cl
xor ecx, ecx
mov cl, byte [eax - 1]
mov byte [eax - 2], dl
sub ebx, ecx
imul ebx, edi
shr ebx, 8
add bl, cl
mov ecx, dword [esp + 0x2c]
mov byte [eax - 1], bl
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x40b6f7
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0xb8]
mov eax, dword [esp + 0x20]
add esi, edx
add ebp, ebx
dec eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jne 0x40b6eb
jmp 0x40c00b
test ecx, 0x18000000
je 0x40bdbb
and ecx, 0x60000000
jne 0x40b938
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov ecx, ebx
imul ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
lea edx, [edi + ebp*2]
mov ecx, ebp
add ecx, edx
add ecx, dword [esp + 0xac]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov edi, dword [esp + 0x40]
jbe 0x40b8ff
mov ecx, dword [esp + 0x3c]
sub ecx, ebp
lea edx, [ecx + ecx*2]
sub edx, dword [esp + 0x18]
sub edx, dword [esp + 0xac]
mov ecx, edi
add edx, ecx
add edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
lea edx, [edx + ecx + 2]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov cl, byte [edx - 2]
add edi, 3
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov cl, byte [edx - 1]
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov cl, byte [edx]
xor edx, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov cl, byte [edi - 3]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x48]
sub edx, ecx
imul edx, eax
shr edx, 8
add dl, cl
mov ecx, dword [esp + 0x10]
and edx, 0xff
sub edx, ecx
imul edx, esi
shr edx, 8
add dl, cl
xor ecx, ecx
mov cl, byte [edi - 2]
mov byte [edi - 3], dl
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov ecx, dword [esp + 0x58]
sub ecx, edx
imul ecx, eax
shr ecx, 8
add cl, dl
mov edx, dword [esp + 0x10]
and ecx, 0xff
sub ecx, edx
imul ecx, esi
shr ecx, 8
add cl, dl
mov byte [edi - 2], cl
xor ecx, ecx
mov cl, byte [edi - 1]
xor edx, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
sub edx, ecx
imul edx, eax
shr edx, 8
add dl, cl
mov ecx, dword [esp + 0x10]
and edx, 0xff
sub edx, ecx
imul edx, esi
shr edx, 8
add dl, cl
mov ecx, dword [esp + 0x2c]
mov byte [edi - 1], dl
mov edx, dword [esp + 0x20]
add edx, 3
dec ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
jne 0x40b828
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
add ecx, ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xb8]
add edi, ecx
add edx, ecx
mov ecx, dword [esp + 0x28]
dec ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x28], ecx
jne 0x40b7e8
jmp 0x40c00b
cmp ecx, 0x40000000
jne 0x40bab5
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx + ecx*2 + 3]
mov edx, ecx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + ecx*2]
sub ecx, edx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov edx, dword [esp + 0x38]
mov ecx, ebx
imul ecx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x18], ecx
add edx, edi
lea ecx, [ebp + ebp*2]
add ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], edx
jmp 0x40b9a1
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
lea ebp, [edx + edi]
mov edi, ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
jbe 0x40ba86
mov dword [esp + 0x28], ecx
xor edx, edx
mov dl, byte [ebp + 1]
xor ecx, ecx
mov cl, byte [ebp]
add edi, 3
sub ebp, 3
mov dword [esp + 0x34], edx
xor edx, edx
mov dl, byte [ebp + 5]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x14], edx
xor edx, edx
mov dl, byte [edi - 3]
mov dword [esp + 0x10], edx
xor edx, edx
mov edx, dword [esp + 0x5c]
sub edx, ecx
imul edx, eax
shr edx, 8
add dl, cl
mov ecx, dword [esp + 0x10]
and edx, 0xff
sub edx, ecx
imul edx, esi
shr edx, 8
add dl, cl
xor ecx, ecx
mov cl, byte [edi - 2]
mov byte [edi - 3], dl
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov ecx, dword [esp + 0x58]
sub ecx, edx
imul ecx, eax
shr ecx, 8
add cl, dl
mov edx, dword [esp + 0x10]
and ecx, 0xff
sub ecx, edx
imul ecx, esi
shr ecx, 8
add cl, dl
mov byte [edi - 2], cl
xor ecx, ecx
mov cl, byte [edi - 1]
xor edx, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
sub edx, ecx
imul edx, eax
shr edx, 8
add dl, cl
mov ecx, dword [esp + 0x10]
and edx, 0xff
sub edx, ecx
imul edx, esi
shr edx, 8
add dl, cl
mov ecx, dword [esp + 0x28]
mov byte [edi - 1], dl
dec ecx
mov dword [esp + 0x28], ecx
jne 0x40b9be
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [esp + 0x2c]
add edi, ebx
dec ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ecx
jne 0x40b99d
jmp 0x40c00b
cmp ecx, 0x20000000
jne 0x40bc41
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
sub ecx, edx
mov edx, dword [esp + 0x10]
dec ecx
test edx, edx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov edx, ebx
imul edx, ecx
lea ecx, [edi + ebp*2]
mov dword [esp + 0x1c], edi
mov edi, ebp
add edi, ecx
mov ecx, dword [esp + 0xac]
neg ebx
add edi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], edi
mov ebx, dword [esp + 0x24]
test ebx, ebx
jbe 0x40bc1b
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xac]
sub ecx, ebp
mov ebp, dword [esp + 0x1c]
lea ecx, [ecx + ecx*2]
sub ecx, ebp
sub ecx, ebx
add ecx, edi
add ecx, edx
mov edx, dword [esp + 0x38]
lea ebx, [ecx + edx + 2]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ecx
mov ebp, dword [esp + 0x18]
xor edx, edx
mov dl, byte [ebx - 1]
xor ecx, ecx
mov cl, byte [ebx - 2]
xor ebx, ebx
mov bl, byte [ebp]
add edi, 3
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov bl, byte [edi - 3]
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov ebx, dword [esp + 0x5c]
sub ebx, ecx
imul ebx, eax
shr ebx, 8
add bl, cl
mov ecx, dword [esp + 0x10]
and ebx, 0xff
sub ebx, ecx
imul ebx, esi
shr ebx, 8
add bl, cl
mov byte [edi - 3], bl
xor ebx, ebx
mov ebx, dword [esp + 0x58]
sub ebx, edx
imul ebx, eax
shr ebx, 8
add bl, dl
xor ecx, ecx
mov cl, byte [edi - 2]
xor edx, edx
mov edx, dword [esp + 0x54]
and ebx, 0xff
sub ebx, ecx
imul ebx, esi
shr ebx, 8
add bl, cl
mov byte [edi - 2], bl
mov ebx, dword [esp + 0x14]
sub edx, ebx
imul edx, eax
shr edx, 8
add dl, bl
xor ecx, ecx
mov cl, byte [edi - 1]
mov ebx, ebp
add ebx, 3
mov dword [esp + 0x18], ebx
and edx, 0xff
sub edx, ecx
imul edx, esi
shr edx, 8
add dl, cl
mov ecx, dword [esp + 0x28]
mov byte [edi - 1], dl
dec ecx
mov dword [esp + 0x28], ecx
jne 0x40bb52
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0xb8]
add edx, dword [esp + 0x34]
add dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x40]
add edi, ecx
dec ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x40], ebx
jne 0x40bb16
jmp 0x40c00b
cmp ecx, 0x60000000
jne 0x40c00b
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx + ecx*2 + 3]
mov edx, ecx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + ecx*2]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x4c]
sub ecx, edx
mov edx, dword [esp + 0x10]
dec ecx
test edx, edx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov edx, ebx
imul ebx, ecx
add ebx, dword [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xac]
add ebx, edi
mov edi, dword [esp + 0x10]
neg edx
lea ecx, [ebp + ebp*2]
add ecx, ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
add ebx, edi
test ebp, ebp
mov dword [esp + 0x18], ebx
mov edi, ecx
jbe 0x40bd90
mov ecx, ebp
mov dword [esp + 0x28], ecx
mov ebp, dword [esp + 0x18]
xor edx, edx
mov dl, byte [ebx + 1]
xor ecx, ecx
mov cl, byte [ebx]
xor ebx, ebx
mov bl, byte [ebp + 2]
add edi, 3
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov bl, byte [edi - 3]
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov ebx, dword [esp + 0x5c]
sub ebx, ecx
imul ebx, eax
shr ebx, 8
add bl, cl
mov ecx, dword [esp + 0x10]
and ebx, 0xff
sub ebx, ecx
imul ebx, esi
shr ebx, 8
add bl, cl
mov byte [edi - 3], bl
xor ebx, ebx
mov ebx, dword [esp + 0x58]
sub ebx, edx
imul ebx, eax
shr ebx, 8
add bl, dl
xor ecx, ecx
mov cl, byte [edi - 2]
xor edx, edx
mov edx, dword [esp + 0x54]
and ebx, 0xff
sub ebx, ecx
imul ebx, esi
shr ebx, 8
add bl, cl
mov byte [edi - 2], bl
mov ebx, dword [esp + 0x14]
sub edx, ebx
imul edx, eax
shr edx, 8
add dl, bl
xor ecx, ecx
mov cl, byte [edi - 1]
mov ebx, ebp
sub ebx, 3
mov dword [esp + 0x18], ebx
and edx, 0xff
sub edx, ecx
imul edx, esi
shr edx, 8
add dl, cl
mov ecx, dword [esp + 0x28]
mov byte [edi - 1], dl
dec ecx
mov dword [esp + 0x28], ecx
jne 0x40bcd3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0xb8]
mov edi, dword [esp + 0x20]
add ebp, edx
add ecx, ebx
dec edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edi
jne 0x40bcb1
jmp 0x40c00b
mov eax, ecx
and eax, 0x60000000
jne 0x40be41
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*2]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x3c]
mov edx, ebx
imul edx, dword [esp + 0x14]
add ecx, edi
lea ebp, [ebp + ebp*2]
add ebp, ecx
mov ecx, dword [esp + 0x38]
add ecx, edx
mov edx, dword [esp + 0x10]
lea eax, [eax + eax*2]
add eax, ecx
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x24]
mov edx, ecx
shr ecx, 2
mov esi, eax
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0xb8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
add eax, ebx
add ebp, edx
dec ecx
mov dword [esp + 0x28], ecx
jne 0x40be10
jmp 0x40c00b
cmp eax, 0x40000000
jne 0x40bee0
mov eax, dword [esp + 0x3c]
lea eax, [eax + eax*2 + 3]
mov ecx, eax
mov eax, dword [esp + 0x30]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x10]
sub edx, ecx
test eax, eax
mov dword [esp + 0x30], edx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0x38]
mov eax, ebx
imul eax, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0xac]
add ecx, edi
lea ebp, [ebp + ebp*2]
add ebp, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
lea edi, [eax + edx]
mov esi, ebp
jbe 0x40bec5
mov dx, word [edi]
mov word [esi], dx
mov dl, byte [edi + 2]
mov byte [esi + 2], dl
add esi, 3
sub edi, 3
dec ecx
jne 0x40bea8
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0xb8]
mov esi, dword [esp + 0x28]
add eax, ebx
add ebp, edi
dec esi
mov dword [esp + 0x28], esi
jne 0x40be9f
jmp 0x40c00b
cmp eax, 0x20000000
jne 0x40bf73
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [eax + eax*2]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
sub eax, esi
dec eax
test ecx, ecx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0xac]
mov edx, ebx
imul ebx, eax
mov eax, dword [esp + 0x3c]
add ecx, edi
lea ebp, [ebp + ebp*2]
add ebp, ecx
mov ecx, dword [esp + 0x38]
add ecx, ebx
lea eax, [eax + eax*2]
neg edx
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
mov ebx, ecx
shr ecx, 2
mov esi, eax
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xb8]
mov ecx, dword [esp + 0x28]
add eax, edx
add ebp, esi
dec ecx
mov dword [esp + 0x28], ecx
jne 0x40bf42
jmp 0x40c00b
cmp eax, 0x60000000
jne 0x40c00b
mov eax, dword [esp + 0x3c]
lea edx, [eax + eax*2 + 3]
mov eax, dword [esp + 0x30]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x4c]
sub ecx, edx
sub eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
dec eax
test edx, edx
mov dword [esp + 0x30], ecx
jbe 0x40c00b
imul edi, dword [esp + 0xb8]
mov edx, ebx
imul ebx, eax
add ebx, dword [esp + 0x38]
mov eax, dword [esp + 0xac]
lea esi, [ebp + ebp*2]
mov ebp, dword [esp + 0x10]
add eax, edi
neg edx
mov dword [esp + 0x28], ebx
add esi, eax
jmp 0x40bfd4
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
add ecx, ebx
test edi, edi
mov eax, esi
jbe 0x40bff5
mov bx, word [ecx]
mov word [eax], bx
mov bl, byte [ecx + 2]
mov byte [eax + 2], bl
add eax, 3
sub ecx, 3
dec edi
jne 0x40bfe0
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0xb8]
add ebx, edx
add esi, ecx
dec ebp
mov dword [esp + 0x28], ebx
jne 0x40bfd0
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x94
ret