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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48264f
sub esp, 0x40
movzx ecx, byte [esp + 0x50]
test cl, cl
je 0x482630
mov ecx, dword [esp + 0x48]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x4c]
cmp edx, ebx
jg 0x4825f6
mov eax, dword [esp + 0x44]
mov byte [eax + ecx], 0x2d
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4825ec
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
test ecx, ecx
jbe 0x482648
movzx ecx, byte [ebp]
lea ebp, [edx + 1]
cmp ebp, ebx
jg 0x4825a9
mov byte [eax + edx], cl
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jle 0x4825a2
lea edx, [ebp + 1]
cmp edx, ebx
jg 0x482564
mov byte [eax + ebp], 0x2e
mov ebp, dword [esp + 0x60]
lea esi, [ecx + 1]
cmp ebp, esi
jge 0x48255d
cmp ebp, 1
jg 0x4824a4
mov ebp, 1
jmp 0x4821d0
mov byte [eax + edx], 0x30
inc ebp
mov edx, esi
cmp ebp, ecx
jg 0x48221e
lea esi, [edx + 1]
cmp esi, ebx
jle 0x4821c9
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], edx
lea ecx, [0x7718e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00438b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
jmp 0x4821c9
lea ecx, [edx + 1]
cmp ecx, ebx
jg 0x48246c
movzx ebp, byte [esp + 0x70]
xchg ebp, ebx
mov byte [eax + edx], bl
xchg ebp, ebx
mov edx, dword [esp + 0x64]
dec edx
mov ebp, dword [esp + 0x60]
test ebp, ebp
jne 0x482244
xor edx, edx
test edx, edx
jge 0x482462
neg edx
mov ebp, 0x2d
mov dword [esp + 0x2c], edx
lea esi, [ecx + 1]
cmp esi, ebx
jg 0x482419
mov dword [esp + 0x48], esi
xchg ebp, ebx
mov byte [eax + ecx], bl
xchg ebp, ebx
cmp edx, 0xa
jge 0x4822cb
lea ecx, [esi + 2]
cmp ecx, ebx
jg 0x482294
mov byte [eax + esi], 0x30
add edx, 0x30
mov byte [eax + esi + 1], dl
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
lea edx, [0x7718e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00438b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add ecx, 2
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
jmp 0x482279
cmp edx, 0x64
jge 0x482355
lea ecx, [esi + 2]
mov ebp, 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, ebx
jg 0x482312
add edx, 0x30
mov byte [ebp + esi], dl
lea edx, [eax + 0x30]
mov byte [ebp + esi + 1], dl
mov eax, ebp
jmp 0x482284
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
lea eax, [0x7718e0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00438b10
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + 2]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
jmp 0x4822fd
lea ecx, [esi + 3]
mov ebp, 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 esi, 0xcccccccd
imul esi
add edx, edi
sar edx, 3
mov esi, dword [esp + 0x38]
sub edx, esi
movzx esi, dl
imul esi, esi, 0x19a
shr esi, 0xc
lea esi, [esi + esi*4]
shl esi, 1
mov eax, edx
sub edx, esi
lea esi, [eax + eax*4]
shl esi, 1
sub edi, esi
cmp ecx, ebx
jg 0x4823d5
mov esi, dword [esp + 0x34]
add esi, 0x30
mov eax, edi
mov edi, dword [esp + 0x48]
xchg esi, eax
mov byte [ebp + edi], al
xchg esi, eax
add edx, 0x30
mov byte [ebp + edi + 1], dl
lea edx, [eax + 0x30]
mov byte [ebp + edi + 2], dl
mov eax, ebp
jmp 0x482284
mov byte [esp + 0x23], dl
mov dword [esp + 0x38], edi
lea eax, [0x7718e0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00438b10
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + 3]
movzx edx, byte [esp + 0x23]
mov edi, dword [esp + 0x38]
jmp 0x4823ad
mov dword [esp + 0x48], ecx
xchg ebp, eax
mov byte [esp + 0x22], al
xchg ebp, eax
lea edx, [0x7718e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00438b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
movzx ebp, byte [esp + 0x22]
jmp 0x482262
mov ebp, 0x2b
jmp 0x482253
mov dword [esp + 0x48], edx
lea ebp, [0x7718e0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00438b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc ecx
mov edx, dword [esp + 0x48]
jmp 0x482229
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x5c]
cmp ebp, edi
ja 0x482641
mov dword [esp + 0x24], ebp
lea ecx, [ebp + edx - 1]
mov dword [esp + 0x48], ecx
dec edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
add esi, edi
cmp ecx, ebx
ja 0x48251a
test ecx, ecx
jl 0x482641
cmp ecx, ebx
ja 0x482641
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ebx
lea ecx, [eax + edx]
mov dword [esp], ecx
mov dword [esp + 4], esi
lea ecx, [ebp - 1]
mov dword [esp + 8], ecx
call fcn.0044d070
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
jmp 0x4821d0
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], esi
lea ebp, [0x7718e0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00438b10
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
jmp 0x4824d3
mov ebp, esi
jmp 0x4821b9
mov dword [esp + 0x30], ebp
lea ecx, [0x7718e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x30]
jmp 0x4821a6
mov edx, ebp
jmp 0x48221e
mov dword [esp + 0x48], edx
mov byte [esp + 0x22], cl
lea ecx, [0x7718e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00438b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
movzx ecx, byte [esp + 0x22]
mov edx, dword [esp + 0x48]
jmp 0x48218c
mov ecx, 0x30
jmp 0x482181
lea eax, [0x7718e0]
mov dword [esp], eax
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x48]
jmp 0x48215d
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
jmp 0x482161
call fcn.00426530
ud2
call fcn.00426430
ud2
call fcn.0044b110
jmp fcn.00482120