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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
push esi
mov esi, dword [esp + 0x60]
push edi
mov edi, ecx
mov ecx, dword [esp + 0x60]
sub esi, eax
mov eax, dword [edi + 0x144]
sub ebx, ecx
shl eax, 1
mov ecx, esi
mov dword [esp + 0x1c], edi
sub ecx, eax
mov dword [esp + 0x10], ebx
lea eax, [ecx - 1]
cmp eax, 1
jge 0x43ed0e
mov eax, 1
push 8
lea ecx, [edi + 0xd8]
push 1
push eax
mov dword [esp + 0x50], ecx
call fcn.00458070
mov edx, dword [edi + 0x144]
mov eax, ebx
shl edx, 1
sub eax, edx
cmp eax, 1
jge 0x43ed38
mov eax, 1
push 8
lea ecx, [edi + 0x10c]
push eax
push 1
mov dword [esp + 0x54], ecx
call fcn.00458070
push 8
lea ecx, [edi + 8]
push ebx
push esi
mov dword [esp + 0x4c], ecx
call fcn.00458070
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
call edi
push 0xf
mov dword [esp + 0x40], eax
call edi
push 0x10
mov ebx, eax
call edi
mov ecx, ebx
mov edi, eax
and ecx, 0xff
and edi, 0xff
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov cl, ah
xor edx, edx
mov ebp, ecx
xor ecx, ecx
mov cl, bh
and ebp, 0xff
shr eax, 0x10
and ecx, 0xff
and eax, 0xff
mov dword [esp + 0x34], ecx
mov ecx, eax
neg ecx
mov dword [esp + 0x54], ecx
mov ecx, ebp
neg ecx
mov dword [esp + 0x50], ecx
mov ecx, edi
shr ebx, 0x10
and ebx, 0xff
mov dword [esp + 0x5c], edx
neg ecx
shl eax, 7
shl ebp, 7
shl edi, 7
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add eax, edx
mov ecx, dword [esp + 0x24]
cdq
and edx, 0x7f
add eax, edx
mov edx, dword [esp + 0x18]
mov edi, eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x2c]
cdq
and edx, 0x7f
add eax, edx
mov ebp, eax
mov eax, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x40]
cdq
and edx, 0x7f
add eax, edx
mov edx, dword [esp + 0x5c]
mov ebx, eax
sar ebx, 7
sar ebp, 7
sar edi, 7
push ebx
push ebp
push edi
push edx
call fcn.004581d0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
push ebx
push ebp
push edi
push eax
call fcn.004581d0
mov ecx, dword [esp + 0x48]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x68]
push edi
call fcn.004581d0
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x18]
add ebp, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x50]
add ebx, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x28]
add ebp, ecx
mov ecx, dword [esp + 0x2c]
inc edi
add ebx, edx
add ecx, eax
cmp edi, 0x81
mov dword [esp + 0x5c], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
jl 0x43edf6
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
xor edx, edx
mov ecx, eax
mov dl, ah
and ecx, 0xff
shr eax, 0x10
and eax, 0xff
and edx, 0xff
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], eax
mov eax, edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x34]
neg eax
mov dword [esp + 0x44], eax
mov eax, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], 1
neg eax
mov dword [esp + 0x48], eax
mov eax, ecx
neg eax
mov dword [esp + 0x4c], eax
mov eax, edi
shl eax, 7
sub eax, edi
mov dword [esp + 0x18], eax
mov eax, edx
shl eax, 7
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, ecx
shl eax, 7
sub eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x28]
cdq
and edx, 0x7f
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x1c]
cdq
and edx, 0x7f
add ecx, 8
add eax, edx
mov edx, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [esp + 0x14]
add eax, edx
cdq
and edx, 0x7f
add eax, edx
mov ebx, eax
mov al, byte [esp + 0x5c]
sar ebx, 7
sar ebp, 7
sar edi, 7
push ebx
add al, 0x7f
push ebp
push edi
push eax
mov byte [esp + 0x48], al
call fcn.004581d0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push ebx
push ebp
push edi
push edx
lea ecx, [eax + 0xd8]
call fcn.004581d0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
push ebx
push ebp
push edi
push ecx
lea ecx, [edx + 0x10c]
call fcn.004581d0
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
add ebx, ecx
mov ecx, dword [esp + 0x4c]
add edi, edx
mov edx, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x14]
add ebp, edx
mov edx, dword [esp + 0x40]
inc eax
add ebx, ecx
add edi, edx
cmp eax, 0x81
mov dword [esp + 0x5c], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
jl 0x43ef51
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x1c]
and eax, 0xff
push eax
push ecx
lea ecx, [edi + 8]
call fcn.00458270
lea ecx, [edi + 0xd8]
call fcn.00458050
mov edx, dword [edi + 0xe0]
xor ecx, ecx
test edx, edx
mov ebp, eax
jle 0x43f08d
mov eax, ecx
and eax, 0x80000001
jns 0x43f083
dec eax
or eax, 0xfffffffe
inc eax
neg al
mov byte [ecx + ebp], al
inc ecx
cmp ecx, edx
jl 0x43f075
lea ecx, [edi + 0x10c]
call fcn.00458050
mov ebp, dword [edi + 0x118]
xor ecx, ecx
test ebp, ebp
jle 0x43f0bf
mov edx, ecx
and edx, 0x80000001
jns 0x43f0b3
dec edx
or edx, 0xfffffffe
inc edx
neg dl
mov byte [eax], dl
add eax, 4
inc ecx
cmp ecx, ebp
jl 0x43f0a4
mov eax, dword [edi + 0x34]
lea ebp, [edi + 8]
mov ecx, ebp
mov dword [esp + 0x78], eax
call fcn.00458050
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x5c], eax
and ecx, 0xff
mov edi, eax
mov dword [esp + 0x14], ecx
mov ebx, 1
lea eax, [ecx + ecx]
cmp eax, 1
jl 0x43f0f3
mov ebx, eax
mov eax, 0x7fff
cdq
idiv ebx
mov edx, dword [esp + 0x6c]
mov ebx, eax
mov eax, 0xff
sub eax, ecx
dec edx
cmp edx, 7
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
ja case.default.0x43f11a
jmp dword [edx*4 + 0x43f974]
push 0
mov ecx, ebp
call fcn.004583d0
mov eax, 0x7fff
mov dword [esp + 0x38], 0xc8
cdq
idiv esi
mov dword [esp + 0x54], eax
mov eax, 0x7fff
cdq
idiv dword [esp + 0x10]
mov dword [esp + 0x50], eax
call fcn.00459dfb
cdq
idiv dword [esp + 0x54]
mov dword [esp + 0x20], eax
call fcn.00459dfb
cdq
idiv dword [esp + 0x50]
mov ebx, dword [esp + 0x10]
cmp esi, ebx
mov edi, eax
jge 0x43f170
mov ebx, esi
call fcn.00459dfb
mov ecx, eax
mov eax, 0x7fff
cdq
idiv ebx
mov ebx, eax
mov eax, ecx
cdq
idiv ebx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
call fcn.00459dfb
mov ecx, eax
mov eax, 0xa00a00a1
imul ecx
add edx, ecx
xor ebx, ebx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
test ebp, ebp
mov dword [esp + 0x7c], edx
jle 0x43f227
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], edi
sub eax, edi
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x6c]
lea eax, [ecx + edi]
test eax, eax
jle 0x43f1e9
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
jge 0x43f1e9
mov ecx, dword [esp + 0x7c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x28]
lea ecx, [eax + 8]
call fcn.00458220
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
add ecx, edx
cmp ecx, esi
jge 0x43f218
test edi, edi
jle 0x43f218
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
mov ecx, ebx
push edi
sub ecx, eax
add ecx, esi
push ecx
lea ecx, [edx + 8]
call fcn.00458220
mov edx, dword [esp + 0x70]
inc ebx
inc edx
dec edi
cmp ebx, ebp
mov dword [esp + 0x70], edx
jl 0x43f1bf
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
jne 0x43f14c
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
sub eax, edx
mov ecx, dword [esp + 0x10]
sub eax, 0x28
mov ebp, dword [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
mov dword [esp + 0x6c], eax
jle 0x43f92b
mov dword [esp + 0x70], 0
mov dword [esp + 0x5c], ecx
xor edi, edi
test esi, esi
jle 0x43f2be
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
cdq
idiv dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, ebx
neg eax
imul ebx, esi
mov dword [esp + 0x54], eax
mov eax, ebx
mov cl, byte [esp + 0x7c]
cdq
idiv esi
mov dl, byte [edi + ebp]
add al, cl
add dl, al
mov byte [edi + ebp], dl
call fcn.00459dfb
cdq
idiv dword [esp + 0x18]
mov cl, byte [edi + ebp]
add cl, al
mov byte [edi + ebp], cl
mov ecx, dword [esp + 0x54]
inc edi
add ebx, ecx
cmp edi, esi
jl 0x43f28a
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
add ebp, edi
add edx, eax
dec ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x5c], ecx
jne 0x43f268
jmp 0x43f92b
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x43f392
mov ecx, dword [esp + 0x14]
mov eax, 0x40
sub eax, ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x7c]
xor ebp, ebp
cdq
idiv dword [esp + 0x10]
mov ecx, eax
sub ecx, 0x7f
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
imul eax, dword [esp + 0x54]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
mov ebx, eax
sar ebx, 7
add ebx, 0x80
test esi, esi
jle 0x43f36f
mov byte [edi + ebp], bl
call fcn.00459dfb
cdq
idiv dword [esp + 0x18]
mov cl, byte [esp + 0x70]
mov dl, byte [edi + ebp]
sub al, cl
add dl, al
mov byte [edi + ebp], dl
inc ebp
cmp ebp, esi
jl 0x43f34f
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x6c]
add edi, edx
add ecx, 0xff
dec eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x6c], eax
jne 0x43f309
mov eax, 0x2aaaaaab
mov dword [esp + 0x7c], 0x10
imul esi
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 0x10
jg 0x43f3b1
mov dword [esp + 0x7c], edx
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x5c]
mov eax, edi
xor ecx, ecx
imul eax, edi
cdq
and edx, 3
mov dword [esp + 0x5c], ecx
add eax, edx
sar eax, 2
test edi, edi
mov dword [esp + 0x6c], eax
jle 0x43f92b
mov eax, edi
mov edi, dword [esp + 0x7c]
cdq
sub eax, edx
mov dword [esp + 0x28], ecx
sar eax, 1
imul edi, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edi
jmp 0x43f3f9
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov ebp, ecx
sub edx, edi
sub ebp, eax
xor edi, edi
mov dword [esp + 0x50], edx
test esi, esi
jle 0x43f4be
mov eax, esi
mov dword [esp + 0x2c], edi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x50]
imul eax, ebp
cdq
idiv dword [esp + 0x6c]
mov edx, dword [esp + 0x7c]
mov ebp, esi
sar ecx, 1
mov dword [esp + 0x4c], ecx
sub eax, edx
add eax, ecx
mov dword [esp + 0x38], eax
shl ebp, 7
jmp 0x43f449
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
mov edx, edi
sub edx, ecx
cmp edx, eax
mov dword [esp + 0x20], edx
jle 0x43f46d
mov eax, ebp
mov cl, byte [esp + 0x14]
cdq
idiv dword [esp + 0x7c]
mov edx, dword [esp + 0x20]
add al, cl
mov byte [ebx + edi], al
mov eax, dword [esp + 0x38]
add eax, edx
test eax, eax
jge 0x43f485
mov eax, dword [esp + 0x2c]
cdq
idiv dword [esp + 0x7c]
mov dl, byte [esp + 0x24]
sub dl, al
mov byte [ebx + edi], dl
call fcn.00459dfb
cdq
idiv dword [esp + 0x18]
mov dl, byte [esp + 0x70]
mov cl, byte [ebx + edi]
sub ebp, 0x80
sub al, dl
add cl, al
mov byte [ebx + edi], cl
mov ecx, dword [esp + 0x2c]
inc edi
add ecx, 0x80
cmp edi, esi
mov dword [esp + 0x2c], ecx
jl 0x43f441
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x28]
add ebx, edx
mov edx, dword [esp + 0x7c]
add edi, edx
mov edx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x28], edi
cmp ecx, edx
mov dword [esp + 0x5c], ecx
jl 0x43f3f5
jmp 0x43f92b
mov ebx, dword [esp + 0x10]
test ebx, ebx
jle 0x43f92b
mov dword [esp + 0x7c], 0
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x7c]
xor ebp, ebp
cdq
idiv ebx
mov ecx, eax
sub ecx, 0x7f
test esi, esi
jle 0x43f5c5
mov eax, ecx
mov ebx, esi
imul eax, ecx
imul eax, ecx
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
cdq
and edx, 0x7f
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 7
mov dword [esp + 0x54], eax
mov eax, 0x80
sub eax, edx
shl ebx, 8
mov dword [esp + 0x6c], eax
sub ebx, esi
mov eax, ebx
cdq
idiv esi
mov ecx, eax
sub ecx, 0x7f
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
and edx, 0x7f
mov ecx, dword [esp + 0x14]
add eax, edx
sar eax, 7
cdq
and edx, 0x7f
add eax, edx
mov edx, dword [esp + 0x54]
sar eax, 7
add eax, edx
imul eax, dword [esp + 0x6c]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
add eax, 0x80
cmp eax, ecx
jge 0x43f591
mov eax, ecx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x43f59b
mov eax, ecx
mov byte [edi + ebp], al
call fcn.00459dfb
cdq
idiv dword [esp + 0x18]
mov dl, byte [esp + 0x70]
mov cl, byte [edi + ebp]
sub ebx, 0xff
sub al, dl
add cl, al
mov byte [edi + ebp], cl
inc ebp
cmp ebp, esi
jl 0x43f54a
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x5c]
add edi, edx
add ecx, 0xff
dec eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x5c], eax
jne 0x43f500
jmp 0x43f92b
test esi, esi
mov dword [esp + 0x7c], 0
jle 0x43f92b
mov edi, esi
mov ebp, 0x80
shl edi, 8
sub ebp, ecx
sub edi, esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x38], edi
mov eax, edi
cdq
idiv esi
mov ecx, eax
sub ecx, 0x7f
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
imul eax, ebp
cdq
and edx, 0x7f
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x10]
sar ebx, 7
add ebx, 0x80
test eax, eax
jle 0x43f68b
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x10]
lea edi, [eax + ecx]
mov byte [edi], bl
call fcn.00459dfb
cdq
idiv dword [esp + 0x18]
mov cl, byte [esp + 0x70]
mov dl, byte [edi]
sub al, cl
mov ecx, dword [esp + 0x78]
add dl, al
mov byte [edi], dl
add edi, ecx
dec ebp
jne 0x43f662
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x7c]
sub edi, 0xff
inc eax
mov dword [esp + 0x38], edi
cmp eax, esi
mov dword [esp + 0x7c], eax
jl 0x43f613
jmp 0x43f92b
mov edx, dword [esp + 0x10]
test edx, edx
jle 0x43f92b
mov eax, 0x80
mov dword [esp + 0x7c], 0
sub eax, ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x7c]
xor ebp, ebp
cdq
idiv dword [esp + 0x10]
mov ecx, eax
sub ecx, 0x7f
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
imul eax, dword [esp + 0x6c]
cdq
and edx, 0x7f
add eax, edx
mov ebx, eax
sar ebx, 7
add ebx, 0x80
test esi, esi
jle 0x43f732
mov byte [edi + ebp], bl
call fcn.00459dfb
cdq
idiv dword [esp + 0x18]
mov cl, byte [esp + 0x70]
mov dl, byte [edi + ebp]
sub al, cl
add dl, al
mov byte [edi + ebp], dl
inc ebp
cmp ebp, esi
jl 0x43f712
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x5c]
add edi, edx
add ecx, 0xff
dec eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x5c], eax
jne 0x43f6ce
jmp 0x43f92b
sub eax, ecx
mov ecx, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
mov dword [esp + 0x6c], eax
jle 0x43f92b
mov dword [esp + 0x5c], 0
mov dword [esp + 0x38], ecx
xor ebp, ebp
test esi, esi
jle 0x43f7d8
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x6c]
cdq
idiv dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, ebx
neg eax
imul ebx, esi
mov dword [esp + 0x54], eax
mov eax, ebx
mov cl, byte [esp + 0x14]
cdq
idiv esi
add al, byte [esp + 0x7c]
add al, cl
mov byte [edi + ebp], al
call fcn.00459dfb
cdq
idiv dword [esp + 0x18]
mov dl, byte [esp + 0x70]
mov cl, byte [edi + ebp]
sub al, dl
add cl, al
mov byte [edi + ebp], cl
mov ecx, dword [esp + 0x54]
inc ebp
add ebx, ecx
cmp ebp, esi
jl 0x43f79f
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
add edi, ebx
add edx, eax
dec ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x38], ecx
jne 0x43f77d
jmp 0x43f92b
sub eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x43f92b
mov dword [esp + 0x7c], 0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x14]
cdq
idiv dword [esp + 0x10]
xor ebp, ebp
mov ebx, eax
add ebx, ecx
test esi, esi
jle 0x43f84d
mov byte [edi + ebp], bl
call fcn.00459dfb
cdq
idiv dword [esp + 0x18]
mov cl, byte [esp + 0x70]
mov dl, byte [edi + ebp]
sub al, cl
add dl, al
mov byte [edi + ebp], dl
inc ebp
cmp ebp, esi
jl 0x43f82d
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x5c]
add edi, edx
mov edx, dword [esp + 0x6c]
add ecx, edx
dec eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x5c], eax
jne 0x43f816
jmp 0x43f92b
sub eax, ecx
mov dword [esp + 0x7c], 0
test esi, esi
jle 0x43f92b
mov ecx, eax
neg ecx
imul eax, esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x6c], eax
cdq
idiv esi
mov edx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x10]
add ebx, edx
test eax, eax
jle 0x43f8d9
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x10]
lea edi, [eax + ecx]
mov byte [edi], bl
call fcn.00459dfb
cdq
idiv dword [esp + 0x18]
mov cl, byte [esp + 0x70]
mov dl, byte [edi]
sub al, cl
mov ecx, dword [esp + 0x78]
add dl, al
mov byte [edi], dl
add edi, ecx
dec ebp
jne 0x43f8b4
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x6c]
inc edx
add eax, ecx
cmp edx, esi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x6c], eax
jl 0x43f892
jmp 0x43f92b
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x43f92b
mov dword [esp + 0x7c], eax
xor ebp, ebp
test esi, esi
jle 0x43f91a
call fcn.00459dfb
cdq
idiv ebx
sub al, byte [esp + 0x70]
add al, 0x80
mov byte [edi + ebp], al
inc ebp
cmp ebp, esi
jl 0x43f904
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
add edi, ecx
dec eax
mov dword [esp + 0x7c], eax
jne 0x43f8fe
mov ebx, dword [esp + 0x1c]
lea edi, [ebx + 8]
lea ecx, [ebx + 0x70]
push edi
call fcn.00458390
lea esi, [ebx + 0xa4]
push edi
mov ecx, esi
call fcn.00458390
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
and edx, 0xff
mov ecx, esi
push edx
push eax
call fcn.00458270
push esi
lea ecx, [ebx + 0x3c]
call fcn.00458390
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x24