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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x461579
sub esp, 0x40
movzx ebx, byte [esp + 0x50]
test bl, bl
je 0x461559
mov ebx, dword [esp + 0x48]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x4c]
cmp ebp, esi
ja 0x46151f
mov eax, dword [esp + 0x44]
mov byte [eax + ebx], 0x2d
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x461515
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
test ecx, ecx
jbe 0x461571
movzx ebx, byte [ebx]
lea edi, [ebp + 1]
cmp edi, esi
ja 0x4614d2
mov byte [eax + ebp], bl
mov ebx, dword [esp + 0x6c]
test ebx, ebx
jle 0x4614cb
lea ebp, [edi + 1]
cmp ebp, esi
ja 0x46148d
mov byte [eax + edi], 0x2e
mov edi, dword [esp + 0x60]
mov ecx, ebx
inc ebx
cmp edi, ebx
jge 0x461486
cmp edi, 1
jg 0x4613e8
mov edx, 1
jmp 0x46111f
mov byte [eax + ebp], 0x30
inc edx
mov ebp, ebx
cmp edx, ecx
jg 0x46116d
lea ebx, [ebp + 1]
cmp ebx, esi
jbe 0x461118
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], edx
lea ecx, [0x4c7880]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
jmp 0x461118
lea ecx, [ebp + 1]
cmp ecx, esi
ja 0x4613b0
movzx edx, byte [esp + 0x70]
mov byte [eax + ebp], dl
mov edx, dword [esp + 0x64]
dec edx
mov ebx, dword [esp + 0x60]
test ebx, ebx
jne 0x46118f
xor edx, edx
test edx, edx
jge 0x4613a6
neg edx
mov ebx, 0x2d
mov dword [esp + 0x2c], edx
lea ebp, [ecx + 1]
cmp ebp, esi
ja 0x46135f
mov dword [esp + 0x48], ebp
mov byte [eax + ecx], bl
cmp edx, 0xa
jge 0x461212
lea ecx, [ebp + 2]
cmp ecx, esi
ja 0x4611db
mov byte [eax + ebp], 0x30
add edx, 0x30
mov byte [eax + ebp + 1], dl
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], esi
add esp, 0x40
ret
lea edx, [0x4c7880]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add ecx, 2
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x48]
jmp 0x4611c0
cmp edx, 0x64
jge 0x46129b
lea ecx, [ebp + 2]
mov ebx, eax
mov eax, edx
mov edi, 0xcccccccd
imul edi
mov edi, dword [esp + 0x2c]
add edx, edi
sar edx, 3
mov eax, edi
sar edi, 0x1f
sub edx, edi
lea edi, [edx + edx*4]
shl edi, 1
sub eax, edi
cmp ecx, esi
ja 0x461258
add edx, 0x30
mov byte [ebx + ebp], dl
lea edx, [eax + 0x30]
mov byte [ebx + ebp + 1], dl
mov eax, ebx
jmp 0x4611cb
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
lea eax, [0x4c7880]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.0043fbe0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [eax + 2]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
jmp 0x461244
lea ecx, [ebp + 3]
mov ebx, eax
mov eax, edx
mov edi, 0x51eb851f
imul edi
sar edx, 5
mov eax, dword [esp + 0x2c]
mov edi, eax
sar eax, 0x1f
mov dword [esp + 0x38], eax
sub edx, eax
mov dword [esp + 0x34], edx
mov eax, edi
mov ebp, 0xcccccccd
imul ebp
add edx, edi
sar edx, 3
mov ebp, dword [esp + 0x38]
sub edx, ebp
movzx ebp, dl
imul ebp, ebp, 0x19a
shr ebp, 0xc
lea ebp, [ebp + ebp*4]
shl ebp, 1
mov eax, edx
sub edx, ebp
lea ebp, [eax + eax*4]
shl ebp, 1
sub edi, ebp
cmp ecx, esi
ja 0x46131b
mov ebp, dword [esp + 0x34]
add ebp, 0x30
mov eax, edi
mov edi, dword [esp + 0x48]
xchg ebp, eax
mov byte [ebx + edi], al
xchg ebp, eax
add edx, 0x30
mov byte [ebx + edi + 1], dl
lea edx, [eax + 0x30]
mov byte [ebx + edi + 2], dl
mov eax, ebx
jmp 0x4611cb
mov byte [esp + 0x23], dl
mov dword [esp + 0x38], edi
lea eax, [0x4c7880]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.0043fbe0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [eax + 3]
movzx edx, byte [esp + 0x23]
mov edi, dword [esp + 0x38]
jmp 0x4612f4
mov dword [esp + 0x48], ecx
mov byte [esp + 0x22], bl
lea edx, [0x4c7880]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x22]
jmp 0x4611ad
mov ebx, 0x2b
jmp 0x46119e
mov dword [esp + 0x48], ebp
lea edx, [0x4c7880]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc ecx
mov ebp, dword [esp + 0x48]
jmp 0x461178
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
cmp edi, edx
ja 0x46156a
mov dword [esp + 0x24], edi
lea ecx, [edi + ebp - 1]
mov dword [esp + 0x48], ecx
dec edx
neg edx
sar edx, 0x1f
and edx, 1
add edx, ebx
cmp ecx, esi
ja 0x46144a
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], esi
lea ecx, [eax + ebp]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [edi - 1]
mov dword [esp + 8], ecx
call fcn.00456180
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
jmp 0x46111f
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], edx
lea edx, [0x4c7880]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
jmp 0x461413
mov edi, ebx
jmp 0x461108
mov dword [esp + 0x30], edi
lea ecx, [0x4c7880]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x30]
jmp 0x4610f5
mov ebp, edi
jmp 0x46116d
mov byte [esp + 0x22], bl
mov dword [esp + 0x48], ebp
lea ecx, [0x4c7880]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edi, [ecx + 1]
movzx ebx, byte [esp + 0x22]
mov ebp, dword [esp + 0x48]
jmp 0x4610db
mov ebx, 0x30
jmp 0x4610d0
lea eax, [0x4c7880]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ebx, dword [esp + 0x48]
jmp 0x4610ad
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
jmp 0x4610b1
mov ecx, edi
call fcn.00455920
xor eax, eax
call fcn.004558e0
nop
call fcn.00454020
jmp fcn.00461070