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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a4
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebx + 8], ecx
mov dword [ebx], esi
cmp edi, 3
jle 0x447ef7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
cmp dword [eax + 8], 3
jne 0x447ef7
mov edx, dword [eax]
mov dword [esp + 0x38], edx
jmp 0x447efb
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], ecx
cmp edi, 2
jle 0x447f1e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
lea ecx, [esp + 0xb0]
call fcn.0044d910
mov dword [esp + 0x44], eax
xor ecx, ecx
jmp 0x447f26
mov dword [esp + 0x44], 0x4a59a4
mov dword [esp + 0x30], ecx
mov dword [ebx + 4], ecx
cmp edi, 4
jle 0x447f47
push ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x10]
call fcn.0044d7e0
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x447f4f
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x14], 0
mov edi, esi
mov dword [esp + 0x3c], esi
lea ecx, [ecx]
cmp dword [esp + 0x20], 0
je 0x447f99
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
mov eax, dword [ebp + 0x10]
push esi
push ecx
call fcn.00486900
add esp, 0x1c
mov dword [esp + 0x4c], eax
cmp eax, 0xffffffff
jne 0x4480a9
cmp dword [esp + 0x14], 0
mov eax, dword [ebp + 0x1c]
je 0x448468
cmp dword [ebp + 0x20], eax
jge 0x448468
cmp dword [esp + 0x20], 0
je 0x448468
movzx ecx, word [edi]
mov eax, ecx
lea edx, [eax + 0x2800]
mov esi, 0x3ff
mov dword [esp + 0x14], 0
cmp dx, si
ja 0x448029
movzx edx, word [edi + 2]
mov esi, 0xdc00
cmp dx, si
jb 0x448029
mov esi, 0xdfff
cmp dx, si
ja 0x448029
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov word [edx + ecx*2], ax
mov ecx, 1
add dword [ebx + 4], ecx
mov si, word [edi + 2]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov word [edx + eax*2], si
add dword [ebx + 4], ecx
add dword [ebp + 0x20], 2
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
lea edi, [esi + eax*2]
mov dword [esp + 0x3c], edi
jmp 0x447f60
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov word [edx + eax*2], cx
mov eax, 1
add dword [ebx + 4], eax
add dword [ebp + 0x20], eax
cmp word [edi], 0xd
jne 0x448456
cmp word [edi + 2], 0xa
jne 0x448456
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push 0
lea esi, [esp + 0x4c]
call fcn.004750f0
add esp, 4
test eax, eax
jne 0x448456
test dword [esp + 0x48], 0x400000
je 0x448456
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebp + 0x18]
mov edx, 0xa
mov word [ecx + eax*2], dx
mov eax, 1
add dword [ebx + 4], eax
add dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x20]
lea edi, [esi + eax*2]
mov dword [esp + 0x3c], edi
jmp 0x447f60
test eax, eax
js 0x4484e8
mov eax, 1
add dword [esp + 0x28], eax
sub dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add eax, eax
sub eax, edi
add eax, esi
sar eax, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 0
mov edi, edi
cmp dword [esp + 0x14], 0
je 0x448172
mov eax, dword [esp + 0x18]
lea edx, [eax + 3]
cmp edx, dword [esp + 0x30]
jle 0x44813d
mov edx, dword [esp + 0x40]
push edx
lea ecx, [eax + 2]
push ecx
mov ecx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
sub eax, edx
push ecx
mov ecx, dword [esp + 0x38]
cdq
idiv ecx
push ecx
mov edi, eax
call fcn.0046fe00
lea edx, [eax + eax]
add esp, 0x14
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0xc]
push edx
push eax
call fcn.004895b7
add esp, 8
test eax, eax
je 0x44852d
mov dword [ebx + 0xc], eax
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x448163
mov edx, dword [esp + 0x3c]
mov eax, dword [ebx + 4]
lea ecx, [esi + esi]
push ecx
mov ecx, dword [ebx + 0xc]
push edx
lea edx, [ecx + eax*2]
push edx
call fcn.004903a0
add esp, 0xc
add dword [ebx + 4], esi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
lea edx, [ecx + eax*2]
mov dword [esp + 0x10], edx
jmp 0x44817d
mov eax, dword [ebx + 4]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x44]
movzx eax, word [esi]
xor edi, edi
mov edx, esi
cmp dword [esp + 0x14], edi
je 0x4481bd
cmp ax, di
je 0x4481b2
mov ecx, dword [esp + 0x10]
cmp ax, 0x24
je 0x4481ae
add esi, 2
mov word [ecx], ax
movzx eax, word [esi]
add ecx, 2
cmp ax, di
jne 0x448197
mov dword [esp + 0x10], ecx
mov eax, esi
sub eax, edx
sar eax, 1
add dword [ebx + 4], eax
jmp 0x4481de
cmp ax, di
je 0x4481d4
cmp ax, 0x24
je 0x4481d4
movzx eax, word [esi + 2]
add esi, 2
cmp ax, di
jne 0x4481c2
mov ecx, esi
sub ecx, edx
sar ecx, 1
add dword [esp + 0x18], ecx
cmp word [esi], di
je 0x448423
movzx eax, word [esi + 2]
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
cmp ax, di
je 0x44823c
mov edi, eax
test edi, 0xffffff80
jne 0x448217
push 2
push edi
call fcn.0048954e
add esp, 8
test eax, eax
je 0x448217
and edi, 0xffdf
mov eax, edi
movzx ecx, ax
cmp ecx, 0x4c
je 0x448229
add ecx, 0xffffffac
cmp ecx, 1
ja 0x44823c
movzx edx, ax
movzx eax, word [esi + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], 1
movzx ecx, ax
mov dword [esp + 0x1c], SysStringLen
test ecx, ecx
je 0x448278
cmp ecx, 0x24
je 0x448337
cmp ecx, 0x7b
je 0x4482a2
add eax, 0xffffffd0
cmp ax, 9
ja 0x448278
lea eax, [ecx - 0x30]
mov ecx, dword [esp + 0x24]
lea esi, [esi + ecx*2 + 2]
cmp eax, 0x80000000
jne 0x44834b
cmp dword [esp + 0x14], 0
mov ebx, dword [ebp + 8]
je 0x44833f
mov cx, word [esi]
mov eax, dword [esp + 0x10]
mov word [eax], cx
inc dword [ebx + 4]
add eax, 2
mov dword [esp + 0x10], eax
add esi, 2
jmp 0x448181
mov edx, dword [esp + 0x24]
lea ebx, [esi + edx*2 + 4]
push 0x7d
push ebx
call fcn.004890d1
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x448278
mov edi, eax
sub edi, ebx
sar edi, 1
je 0x448278
cmp edi, 0x21
jae 0x448327
push edi
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.0048ad94
add esp, 0xc
xor ecx, ecx
push ecx
push 1
push ecx
push 1
lea eax, [esp + 0x78]
mov word [esp + edi*2 + 0x78], cx
call fcn.0046f0e0
add esp, 0x10
test eax, eax
je 0x448313
lea edx, [esp + 0x68]
push edx
call fcn.00489596
mov esi, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x20], eax
add esp, 4
jmp 0x44826d
lea eax, [esp + 0x68]
push eax
mov eax, dword [ebp + 0x10]
call fcn.00487560
mov dword [esp + 0x20], eax
add esp, 4
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
jmp 0x44826d
add esi, 2
jmp 0x448278
inc dword [esp + 0x18]
add esi, 2
jmp 0x448181
test eax, eax
js 0x44841b
cmp eax, dword [esp + 0x4c]
jge 0x44841b
mov edx, dword [ebp + 0x24]
mov ecx, dword [edx + eax*8]
mov eax, dword [edx + eax*8 + 4]
sub eax, ecx
mov dword [esp + 0x1c], eax
je 0x44841b
cmp dword [esp + 0x14], 0
je 0x448413
mov edx, dword [ebp + 0x18]
mov edi, eax
add edi, edi
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x10]
push edi
push eax
push ecx
call fcn.004903a0
add esp, 0xc
cmp word [esp + 0x34], 0
je 0x448400
mov eax, dword [esp + 0x10]
xor edx, edx
mov word [edi + eax], dx
movzx eax, word [esp + 0x34]
sub eax, 0x4c
je 0x4483f5
sub eax, 8
je 0x4483d9
dec eax
jne 0x448400
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], edi
add dword [ebx + 4], eax
add esi, 2
jmp 0x448181
mov eax, dword [esp + 0x10]
call fcn.004124f0
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], edi
add dword [ebx + 4], eax
add esi, 2
jmp 0x448181
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_CharLowerW]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], edi
add dword [ebx + 4], eax
add esi, 2
jmp 0x448181
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x18], ecx
add esi, 2
jmp 0x448181
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 2
jl 0x4480e0
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
mov edx, dword [esp + 0x40]
neg eax
sbb eax, eax
and eax, 0xfffffbf0
add eax, 0x410
mov dword [esp + 0x14], eax
mov dword [ebp + 0x20], edx
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
lea edi, [esi + eax*2]
mov dword [esp + 0x3c], edi
jmp 0x447f60
cmp dword [esp + 0x28], 0
je 0x4484cd
sub eax, dword [ebp + 0x20]
mov dword [esp + 0x2c], eax
je 0x4484bc
mov esi, dword [ebx + 4]
add esi, eax
cmp esi, dword [esp + 0x30]
jl 0x4484a3
mov edx, dword [ebx + 0xc]
lea ecx, [esi + esi + 2]
push ecx
push edx
call fcn.004895b7
add esp, 8
test eax, eax
je 0x44852d
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
add eax, eax
push eax
lea eax, [edx + ecx*2]
push edi
push eax
call fcn.004903a0
add esp, 0xc
mov dword [ebx + 4], esi
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
xor eax, eax
mov word [edx + ecx*2], ax
mov ecx, dword [ebx + 0xc]
mov dword [ebx], ecx
mov ecx, dword [0x4c26a8]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c0
call fcn.00471d60
jmp 0x44858c
mov edx, dword [0x4be3fc]
cmp byte [edx + 0x100], 0
je 0x44851f
push 0xa
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.00488085
mov ecx, dword [0x4c4624]
add esp, 0xc
push 0x4a59a4
push str.RegExReplace
push eax
call fcn.0042eae0
jmp 0x44858c
mov edx, dword [0x4c26a8]
push edx
call fcn.00403430
jmp 0x44858c
mov eax, dword [0x4be3fc]
cmp byte [eax + 0x100], 0
jne 0x44854e
mov ecx, dword [0x4c26a8]
push ecx
mov eax, 0xfffffffa
call fcn.00403430
jmp 0x448575
push 0xa
lea edx, [esp + 0x54]
push edx
push 0xfffffffffffffffa
call fcn.00488085
mov ecx, dword [0x4c4624]
add esp, 0xc
push 0x4a59a4
push str.RegExReplace
push eax
call fcn.0042eae0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x44858c
push eax
call fcn.0048995f
add esp, 4
mov dword [ebx + 0xc], 0
mov esi, dword [esp + 0x38]
test esi, esi
je 0x448600
cmp byte [esi + 0x17], 0
jne 0x44859d
mov esi, dword [esi + 0xc]
mov al, byte [esi + 0x15]
test al, 2
je 0x4485b3
and al, 0x3d
mov byte [esi + 0x15], al
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
cdq
mov dword [esi], eax
mov al, byte [esi + 0x15]
and al, 0x9b
or al, 0x18
mov dword [esi + 4], edx
mov byte [esi + 0x15], al
jns 0x4485db
mov eax, esi
call fcn.00401160
and byte [esi + 0x15], 0x8f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x4c2004], 0
je 0x4485e8
test al, 0x10
jne 0x4485f5
cmp dword [0x4c2008], 0
je 0x448600
test al, 0x20
je 0x448600
test al, 8
je 0x448600
mov eax, esi
call fcn.00401160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret