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

Disassembly:
sub esp, 0x3c
push ebx
push ebp
mov ebp, dword [esp + 0x48]
xor ecx, ecx
mov eax, dword [ebp + 0x3e7a8]
lea edx, [ebp + 0x3abf0]
push esi
push edi
mov edi, dword [esp + 0x58]
cmp byte [eax + 0x4d], cl
lea ebx, [edi + 0xe0]
mov esi, dword [ebx + 0xfd0]
sete cl
mov dword [esp + 0x44], esi
cmp byte [edx + 0x2640], 0
mov dword [esp + 0x30], edx
mov esi, dword [esi]
lea ecx, [ecx*2 + 1]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], esi
mov cl, byte [esi + 0x9f]
je 0x104591f3
movzx eax, cl
and eax, 7
mov dword [esp + 0x14], 1
test byte [edx + eax*4 + 0x26c4], 0x40
jne 0x104591fb
mov dword [esp + 0x14], 0
mov eax, dword [edx + 0x204]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x48], eax
movzx eax, byte [edx + 0x109bf494]
mov dword [esp + 0x34], eax
movzx eax, byte [edx + 0x109bf4ac]
mov dword [esp + 0x28], eax
test cl, cl
js 0x10459231
cmp byte [esi + 0x14], 0
mov dword [esp + 0x18], 0
jle 0x10459239
mov dword [esp + 0x18], 1
mov eax, dword [ebp + 0x5d02c]
mov cl, byte [ebp + 0x5cb4c]
mov byte [edi + 0x23b60], cl
test eax, eax
je 0x1045925b
mov cl, byte [ebp + 0x5cb4e]
mov byte [edi + 0x23b60], cl
cmp byte [ebp + 0x3adaf], 0
lea eax, [ebp + 0x3abf0]
je 0x1045926e
xor al, al
jmp 0x10459276
cmp cl, 2
setne al
inc al
cmp dword [esp + 0x18], 0
mov byte [edi + 0x23b6c], al
mov eax, dword [ebx]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], eax
jne 0x10459455
mov eax, dword [ebx + 0xfd0]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x3e7a8]
cmp byte [eax + 0x4d], 0
jne 0x104592d2
cmp byte [ebx + 0xc], 0
jne 0x104592b5
mov eax, 1
jmp 0x104592d4
mov al, byte [ecx + 0x9f]
test al, al
js 0x104592d2
cmp byte [ecx + 0x14], 0
jg 0x104592d2
cmp byte [ecx + 6], 0xd
jne 0x104592d2
mov eax, 1
jmp 0x104592d4
xor eax, eax
mov dword [ebx + 0x2b74], eax
xor ebx, ebx
mov byte [esi + 0x88], 1
movzx eax, byte [esi + 0x9f]
and eax, 7
movzx eax, byte [eax + ebp + 0x3eed8]
push eax
push dword [esp + 0x64]
push ebx
push edx
push edi
push ebp
call fcn.10106740
mov eax, dword [esp + 0x34]
inc ebx
mov edx, dword [esp + 0x7c]
add esp, 0x18
cmp ebx, eax
jl 0x104592e3
cmp byte [ebp + 0x3d2d8], 0
lea ebx, [edi + 0xe0]
jne 0x1045933b
cmp byte [ebp + 0x3d231], 0
je 0x1045933b
cmp byte [ebp + 0x6d64c], 0
je 0x1045933b
mov byte [esi + 0x88], 0
mov dword [ebx + 0x2b74], 0
cmp byte [ebp + 0x3adab], 0
je 0x10459432
mov ecx, edx
cmp byte [ecx + 0x109bf4c4], 0x40
ja 0x10459432
cmp byte [ecx + 0x109bf4dc], 0x40
ja 0x10459432
cmp ecx, 3
jl 0x10459432
mov edx, 2
cmp eax, edx
cmova eax, edx
mov edx, dword [esp + 0x60]
xor edi, edi
mov dword [esp + 0x1c], eax
cmp dl, 2
jne 0x104593d1
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x68]
nop dword [eax + eax]
cmp byte [esi + edi + 0x86], 0
jbe 0x104593ca
movzx eax, byte [esi + 0x89]
push 0
push eax
push ecx
push edi
push ebx
call fcn.1021e030
mov ecx, dword [esp + 0x78]
add esp, 0x14
add dword [ebp], eax
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x104593a0
jmp 0x10459426
mov ebp, dword [esp + 0x58]
xor edi, edi
mov ebx, dword [esp + 0x54]
nop dword [eax + eax]
cmp byte [esi + edi + 0x86], 0
jbe 0x10459421
test dl, dl
jne 0x10459421
push dword [ebp + 0x24990]
movzx eax, byte [ebx + 0x5328]
push eax
movzx eax, byte [esi + 0x89]
push 0
push eax
push ecx
push dword [esp + 0x70]
push edi
push ebp
call fcn.1021e070
mov eax, dword [esp + 0x3c]
add esp, 0x20
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
inc edi
cmp edi, eax
jl 0x104593e0
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
movzx eax, byte [eax + 0x5328]
push eax
push dword [esp + 0x68]
push dword [esp + 0x68]
push edi
push ebp
call fcn.100be780
add esp, 0x14
jmp 0x104595ad
mov bl, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
push ebx
push eax
lea eax, [edi + 0xe0]
push eax
push dword [esp + 0x3c]
call fcn.101707d0
xor eax, eax
add esp, 0x10
test bl, bl
lea ebx, [edi + 0xe0]
mov edi, dword [esp + 0x1c]
lea edx, [ebx + 0x1000]
setg al
mov dword [esp + 0x3c], edx
inc eax
xor ebp, ebp
mov dword [esp + 0x40], eax
mov cl, byte [esi + ebp + 0x14]
mov al, cl
dec al
cmp al, 7
ja 0x104594bf
movsx eax, cl
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + eax*4 + 0xd8]
cmp ecx, 0xffffffff
je 0x104594bf
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + ecx*4 + 0x18c]
jmp 0x104594c1
xor ecx, ecx
push edi
push dword [edx]
lea eax, [ecx + 0x4c8]
neg ecx
push dword [esp + 0x2c]
sbb ecx, ecx
push dword [esp + 0x38]
and ecx, eax
push ecx
push ebp
push ebx
call fcn.100c5780
mov edx, dword [esp + 0x58]
inc ebp
add edx, 4
add esp, 0x1c
mov dword [esp + 0x3c], edx
cmp ebp, dword [esp + 0x40]
jl 0x10459493
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x50]
cmp byte [edi + 0x1e43e], 0
lea ecx, [ebp + 0x3abf0]
je 0x10459528
cmp dword [ebp + 0x5d094], 0
jne 0x10459528
mov eax, dword [ecx + 0x3bb8]
cmp dword [eax + 0x48], 8
jne 0x10459528
mov edx, 1
jmp 0x1045952a
xor edx, edx
mov eax, dword [ecx + 0x3bb8]
mov ecx, 2
mov dword [esp + 0x40], 0
cmp byte [eax + 0x4d], 0
lea eax, [ebp + 0x3abf0]
cmovne ecx, dword [esp + 0x40]
push ecx
push edx
push dword [esp + 0x6c]
push 0
push dword [esp + 0x34]
push dword [esp + 0x40]
push ebx
push eax
call fcn.101152f0
add esp, 0x20
cmp byte [esi + 0x1c], 1
jne 0x1045957c
lea eax, [ebp + 0x3abf0]
push ebx
push eax
call fcn.101148c0
add esp, 8
push dword [esp + 0x60]
push dword [esp + 0x68]
push edi
push ebp
call fcn.10106830
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 0x5328]
push eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push edi
push ebp
call fcn.1021e0d0
add esp, 0x28
cmp byte [esp + 0x60], 0
jne 0x1045975a
mov al, byte [ebp + 0x3abf0]
lea edx, [ebp + 0x3abf0]
test al, al
je 0x104595cc
cmp al, 2
jne 0x104595f2
cmp byte [edx + 0x1bb], 0
je 0x104595f2
cmp byte [edx + 0x1bc], 0
je 0x104595f2
mov al, byte [esi + 0x9f]
test al, al
jns 0x104595f2
mov dword [edi + 0x24a14], 1
mov cl, byte [edi + 0x23b6c]
cmp cl, 2
jne 0x10459978
movzx eax, byte [esi + 0x9f]
and eax, 7
cmp dword [ebx + eax*4 + 0x1a9c], 0
jne 0x10459978
cmp dword [esi], 0
jle 0x10459978
cmp dword [esp + 0x18], 0
je 0x104597f8
cmp byte [esi + 0x88], 0
jne 0x1045997f
cmp dword [esp + 0x14], 0
jne 0x1045997f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
mov al, byte [eax + 0x5328]
movzx edx, byte [ecx + 0x109bf494]
mov byte [esp + 0x28], al
mov eax, dword [edi + 0x24990]
mov dword [esp + 0x1c], eax
lea eax, [edi + 0xe0]
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + 0x109bf4ac]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x10b0]
mov dword [esp + 0x48], edx
mov eax, dword [eax]
movzx eax, byte [eax + 0x9f]
and eax, 7
cmp dword [edi + eax*4 + 0x1b7c], 0
je 0x104596a1
xor al, al
jmp 0x104596a7
mov al, byte [ecx + 0x109bf630]
mov byte [esp + 0x3c], al
movzx eax, al
mov ecx, dword [eax*4 + 0x109bf798]
mov eax, dword [eax*4 + 0x109bf748]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x3ea14]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x10a8]
mov eax, dword [eax + ecx*4]
add eax, dword [edi + 0xe4]
mov dword [edi + 0x117c], eax
mov eax, dword [edi + 0xe0]
and eax, 0x1f
add eax, 0x1184
add eax, edi
mov dword [edi + 0x1180], eax
xor edi, edi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10459756
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
nop dword [eax + eax]
xor esi, esi
test edx, edx
je 0x10459744
push dword [esp + 0x28]
push esi
push edi
push 0
push dword [esp + 0x4c]
push dword [esp + 0x30]
push ebx
push ebp
call fcn.1045f060
add esi, dword [esp + 0x64]
add esp, 0x20
mov edx, dword [esp + 0x48]
cmp esi, edx
jl 0x10459716
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add edi, ecx
cmp edi, eax
jl 0x10459710
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov cl, byte [edi + 0x23b6c]
mov edi, dword [esp + 0x14]
cmp cl, 2
jne 0x10459b39
cmp dword [esi], 0
jle 0x10459b39
cmp dword [esp + 0x18], 0
je 0x10459b39
cmp byte [esi + 0x88], 0
jne 0x10459b39
test edi, edi
jne 0x10459b39
movzx eax, byte [esi + 0x9f]
and eax, 7
cmp dword [ebx + eax*4 + 0x1a9c], edi
jne 0x10459b39
cmp byte [esp + 0x60], 0
je 0x10459bf7
movzx eax, byte [edx + 0x109bf494]
mov dword [esp + 0x48], eax
movzx eax, byte [edx + 0x109bf4ac]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xfd0]
mov eax, dword [eax]
movzx eax, byte [eax + 0x9f]
and eax, 7
cmp dword [ebx + eax*4 + 0x1a9c], edi
je 0x10459a9e
xor al, al
jmp 0x10459aa4
mov edx, dword [esp + 0x64]
mov al, byte [esi + 0x89]
cmp al, byte [edx + 0x109bf630]
je 0x10459810
inc dword [edi + 0x24388]
test edx, edx
jle 0x1045975e
mov eax, dword [ebx + 0xfd0]
xor edx, edx
mov eax, dword [eax]
mov eax, dword [eax]
movzx eax, byte [eax + 0x109bf630]
mov ecx, dword [eax*4 + 0x109bf6a8]
mov eax, dword [eax*4 + 0x109bf6f8]
mov dword [esp + 0x3c], eax
mov al, byte [ebx + 0xfd4]
mov byte [esp + 0x13], al
mov eax, dword [ebx + 0x109c]
mov dword [esp + 0x48], ecx
movzx eax, byte [eax]
cmp eax, ecx
mov eax, dword [ebx + 0x10a0]
setge dl
xor ecx, ecx
movzx eax, byte [eax]
cmp eax, dword [esp + 0x3c]
setge cl
cmp byte [esp + 0x13], 0
je 0x104598a0
mov eax, dword [ebx + 0xfdc]
mov al, byte [eax + 0x9f]
test al, al
mov eax, dword [ebx + 0xfdc]
js 0x1045988e
cmp byte [eax + 0x14], 0
jle 0x104598a0
mov eax, dword [eax]
xor edx, edx
movzx eax, byte [eax + 0x109bf4c4]
cmp eax, dword [esp + 0x48]
setge dl
mov al, byte [ebx + 0xfd5]
test al, al
je 0x104598de
mov eax, dword [ebx + 0xfd8]
mov al, byte [eax + 0x9f]
test al, al
mov eax, dword [ebx + 0xfd8]
js 0x104598c6
cmp byte [eax + 0x14], 0
jle 0x104598d8
mov eax, dword [eax]
xor ecx, ecx
movzx eax, byte [eax + 0x109bf4dc]
cmp eax, dword [esp + 0x3c]
setge cl
mov al, byte [ebx + 0xfd5]
cmp byte [esp + 0x13], 0
je 0x104598ed
test al, al
je 0x104598f4
add edx, ecx
jmp 0x104598f4
xor edx, edx
test al, al
cmovne edx, ecx
mov eax, dword [esp + 0x64]
movzx ecx, byte [eax + 0x109c04a0]
mov al, byte [eax + 0x109bf630]
mov ah, byte [esi + 0x89]
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov byte [esp + 0x58], ah
cmp ah, al
je 0x10459934
mov bl, ah
nop dword [eax + eax]
movzx eax, al
inc ecx
mov al, byte [eax + 0x109bf668]
cmp bl, al
jne 0x10459920
lea ebx, [edi + 0xe0]
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x5328], 0
je 0x1045975a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 0x109c0488]
inc eax
push eax
mov eax, dword [esp + 0x4c]
push ecx
lea ecx, [edx + eax*2]
add ecx, eax
mov eax, dword [ebx + 0x1a74]
lea eax, [eax + ecx*8]
add eax, 0x3a8e
push eax
call fcn.100a1900
add esp, 0xc
jmp 0x1045975a
cmp dword [esp + 0x18], 0
je 0x104599f3
movzx eax, byte [esi + 0x9f]
and eax, 7
cmp dword [ebx + eax*4 + 0x1a9c], 0
je 0x1045999a
mov byte [esp + 0x58], 0
jmp 0x104599fd
movzx eax, cl
mov dl, byte [eax + 0x109be70c]
mov eax, dword [esp + 0x64]
mov byte [esp + 0x58], dl
test eax, eax
jne 0x104599c5
xor ecx, ecx
movzx eax, dl
test dl, dl
lea edx, [ebp + 0x3abf0]
cmove ecx, eax
mov dword [esp + 0x58], ecx
jmp 0x104599fd
mov al, byte [eax + 0x109bf630]
mov bl, byte [esp + 0x58]
movzx ecx, al
movzx edx, dl
movzx eax, al
cmp byte [ecx + 0x109bf9c4], bl
lea ebx, [edi + 0xe0]
cmovbe edx, eax
mov byte [esp + 0x58], dl
lea edx, [ebp + 0x3abf0]
jmp 0x104599fd
mov al, byte [esi + 0x89]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x1e8]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [edx + 0x1e4]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
cmp eax, ecx
cmovl ecx, eax
mov dword [esp + 0x28], ecx
test ecx, ecx
jle 0x10459a7f
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
shl eax, 2
mov dword [esp + 0x48], eax
test esi, esi
jle 0x10459a68
mov ecx, ebp
mov edx, esi
nop
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov byte [eax + 0x89], bl
sub edx, 1
jne 0x10459a50
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
add ebp, eax
sub ecx, 1
mov dword [esp + 0x28], ecx
jne 0x10459a46
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
cmp al, byte [edx + 0x109bf630]
je 0x1045975e
inc dword [edi + 0x24388]
jmp 0x1045975e
mov al, byte [edx + 0x109bf630]
mov byte [esp + 0x58], al
xor edi, edi
movzx eax, al
mov ecx, dword [eax*4 + 0x109bf798]
mov eax, dword [eax*4 + 0x109bf748]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x3ea14]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0xfc8]
mov eax, dword [eax + ecx*4]
add eax, dword [ebx + 4]
mov dword [ebx + 0x109c], eax
mov eax, dword [ebx]
and eax, 0x1f
add eax, 0x10a4
add eax, ebx
mov dword [ebx + 0x10a0], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10459bf7
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
xor esi, esi
test ebp, ebp
je 0x10459b26
push esi
push edi
push dword [esp + 0x60]
push ebx
call fcn.1045c7c0
add esi, dword [esp + 0x54]
add esp, 0x10
cmp esi, ebp
jl 0x10459b07
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
add edi, ecx
cmp edi, eax
jl 0x10459b01
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x38]
jmp 0x10459bf7
cmp dword [esp + 0x18], 0
mov al, byte [esi + 0x89]
je 0x10459b9d
movzx eax, byte [esi + 0x9f]
and eax, 7
cmp dword [ebx + eax*4 + 0x1a9c], 0
je 0x10459b5e
xor dl, dl
jmp 0x10459ba9
movzx eax, cl
mov cl, byte [eax + 0x109be70c]
mov byte [esp + 0x58], cl
test edx, edx
jne 0x10459b79
test cl, cl
movzx eax, cl
cmove edx, eax
jmp 0x10459ba9
mov al, byte [edx + 0x109bf630]
mov bl, byte [esp + 0x58]
movzx edx, byte [esp + 0x58]
movzx ecx, al
movzx eax, al
cmp byte [ecx + 0x109bf9c4], bl
mov ebx, dword [esp + 0x20]
cmovbe edx, eax
jmp 0x10459ba9
xor ecx, ecx
movzx eax, al
test edx, edx
cmovle eax, ecx
mov dl, al
cmp byte [esi + 0x88], 0
mov byte [esp + 0x58], dl
mov byte [esi + 0x89], dl
jne 0x10459bc0
test edi, edi
je 0x10459bd0
mov al, byte [esi + 0x9f]
test al, al
js 0x10459bd4
cmp byte [esi + 0x14], 0
jg 0x10459bd4
xor eax, eax
jmp 0x10459bd9
mov eax, 1
push ebx
push eax
movzx eax, byte [ebx + 0x1155]
push eax
movzx eax, byte [ebx + 0x1154]
push eax
push dword [esp + 0x68]
call fcn.1045c960
add esp, 0x14
mov al, byte [esi + 0x9f]
test al, al
js 0x10459c07
cmp byte [esi + 0x14], 0
jle 0x10459c6e
cmp byte [ebx + 0xc], 0
jne 0x10459c6e
mov eax, dword [ebx + 0xfd0]
mov eax, dword [eax]
mov ecx, dword [eax]
movzx eax, byte [eax + 0x9f]
and eax, 7
cmp dword [ebx + eax*4 + 0x1a9c], 0
je 0x10459c49
mov eax, dword [ebx + 0x54c]
lea ecx, [eax + ecx*2]
mov eax, dword [ebx + 0x550]
lea eax, [eax + ecx*2]
cmp dword [eax*4 + 0x106341d0], 0
jne 0x10459c6e
jmp 0x10459c5b
cmp byte [ecx + 0x109bf4c4], 0x20
ja 0x10459c6e
cmp byte [ecx + 0x109bf4dc], 0x20
ja 0x10459c6e
movzx eax, byte [esi + 0x89]
push eax
push dword [esi]
push ebx
call fcn.1012b920
add esp, 0xc
cmp byte [esp + 0x60], 0
jne 0x10459dd2
cmp dword [ebp + 0x3eea8], 0
jne 0x10459dd2
cmp dword [ebp + 0x9158c], 0
jne 0x10459dd2
cmp dword [ebp + 0x5d0e4], 0
je 0x10459dd2
mov eax, dword [ebp]
cmp dword [eax + 0xc4a8], 0
je 0x10459cd2
mov eax, dword [ebp + 0x916a4]
cmp dword [eax + 0x3340], 0
jne 0x10459dd2
mov eax, dword [ebp + 0x91590]
dec eax
cmp dword [ebp + 0x91588], eax
jne 0x10459dd2
cmp byte [esi + 0x14], 1
jne 0x10459dd2
mov al, byte [esi + 0x9f]
and al, 7
cmp al, 2
ja 0x10459dd2
mov eax, dword [esp + 0x64]
mov ecx, dword [esi + 0xc]
mov ebx, dword [ebp + 0x3add8]
mov edi, dword [esp + 0x2c]
movzx edx, byte [eax + 0x109bf494]
movzx esi, byte [eax + 0x109bf4ac]
mov eax, ebx
sub eax, dword [esp + 0x24]
sar eax, 1
shr edx, 1
shr esi, 1
cmp eax, edx
mov dword [esp + 0x48], ecx
cmovl edx, eax
mov dword [esp + 0x60], ecx
mov eax, dword [ebp + 0x3add4]
sub eax, edi
mov dword [esp + 0x50], edx
sar eax, 1
cmp eax, esi
cmovl esi, eax
mov eax, dword [esp + 0x24]
sar ebx, 1
sar edi, 1
imul ebx, edi
sar eax, 1
mov dword [esp + 0x44], esi
add ebx, eax
xor eax, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], eax
test esi, esi
jle 0x10459dd2
xor edi, edi
test edx, edx
jle 0x10459dc9
movsx eax, cx
mov ecx, dword [esp + 0x64]
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
nop dword [eax]
mov esi, dword [ebp + 0x3add8]
sar esi, 1
imul esi, ecx
add esi, edi
add esi, dword [esp + 0x58]
cmp ebx, 0xa
jge 0x10459daa
mov ax, word [esp + 0x62]
cwde
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x10459daa
mov edx, dword [ebp + 0x91710]
mov al, byte [edx + esi]
cmp al, 0xff
jae 0x10459db4
inc al
mov byte [edx + esi], al
jmp 0x10459db4
mov eax, dword [ebp + 0x91710]
mov byte [esi + eax], 0
mov edx, dword [esp + 0x50]
inc edi
cmp edi, edx
jl 0x10459d70
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x44]
inc eax
mov dword [esp + 0x64], eax
cmp eax, esi
jl 0x10459d58
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret