Function at 0x447e10
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 0x447e47
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
cmp dword [eax + 8], 3
jne 0x447e47
mov edx, dword [eax]
mov dword [esp + 0x38], edx
jmp 0x447e4b
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], ecx
cmp edi, 2
jle 0x447e6e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
lea ecx, [esp + 0xb0]
call fcn.0044d860
mov dword [esp + 0x44], eax
xor ecx, ecx
jmp 0x447e76
mov dword [esp + 0x44], 0x4a59a4
mov dword [esp + 0x30], ecx
mov dword [ebx + 4], ecx
cmp edi, 4
jle 0x447e97
push ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x10]
call fcn.0044d730
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x447e9f
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 0x447ee9
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.004867a0
add esp, 0x1c
mov dword [esp + 0x4c], eax
cmp eax, 0xffffffff
jne 0x447ff9
cmp dword [esp + 0x14], 0
mov eax, dword [ebp + 0x1c]
je 0x4483b8
cmp dword [ebp + 0x20], eax
jge 0x4483b8
cmp dword [esp + 0x20], 0
je 0x4483b8
movzx ecx, word [edi]
mov eax, ecx
lea edx, [eax + 0x2800]
mov esi, 0x3ff
mov dword [esp + 0x14], 0
cmp dx, si
ja 0x447f79
movzx edx, word [edi + 2]
mov esi, 0xdc00
cmp dx, si
jb 0x447f79
mov esi, 0xdfff
cmp dx, si
ja 0x447f79
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 0x447eb0
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 0x4483a6
cmp word [edi + 2], 0xa
jne 0x4483a6
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push 0
lea esi, [esp + 0x4c]
call fcn.00474f90
add esp, 4
test eax, eax
jne 0x4483a6
test dword [esp + 0x48], 0x400000
je 0x4483a6
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 0x447eb0
test eax, eax
js 0x448438
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 0x4480c2
mov eax, dword [esp + 0x18]
lea edx, [eax + 3]
cmp edx, dword [esp + 0x30]
jle 0x44808d
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.0046fca0
lea edx, [eax + eax]
add esp, 0x14
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0xc]
push edx
push eax
call fcn.00489457
add esp, 8
test eax, eax
je 0x44847d
mov dword [ebx + 0xc], eax
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4480b3
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.00490240
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 0x4480cd
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 0x44810d
cmp ax, di
je 0x448102
mov ecx, dword [esp + 0x10]
cmp ax, 0x24
je 0x4480fe
add esi, 2
mov word [ecx], ax
movzx eax, word [esi]
add ecx, 2
cmp ax, di
jne 0x4480e7
mov dword [esp + 0x10], ecx
mov eax, esi
sub eax, edx
sar eax, 1
add dword [ebx + 4], eax
jmp 0x44812e
cmp ax, di
je 0x448124
cmp ax, 0x24
je 0x448124
movzx eax, word [esi + 2]
add esi, 2
cmp ax, di
jne 0x448112
mov ecx, esi
sub ecx, edx
sar ecx, 1
add dword [esp + 0x18], ecx
cmp word [esi], di
je 0x448373
movzx eax, word [esi + 2]
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
cmp ax, di
je 0x44818c
mov edi, eax
test edi, 0xffffff80
jne 0x448167
push 2
push edi
call fcn.004893ee
add esp, 8
test eax, eax
je 0x448167
and edi, 0xffdf
mov eax, edi
movzx ecx, ax
cmp ecx, 0x4c
je 0x448179
add ecx, 0xffffffac
cmp ecx, 1
ja 0x44818c
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 0x4481c8
cmp ecx, 0x24
je 0x448287
cmp ecx, 0x7b
je 0x4481f2
add eax, 0xffffffd0
cmp ax, 9
ja 0x4481c8
lea eax, [ecx - 0x30]
mov ecx, dword [esp + 0x24]
lea esi, [esi + ecx*2 + 2]
cmp eax, 0x80000000
jne 0x44829b
cmp dword [esp + 0x14], 0
mov ebx, dword [ebp + 8]
je 0x44828f
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 0x4480d1
mov edx, dword [esp + 0x24]
lea ebx, [esi + edx*2 + 4]
push 0x7d
push ebx
call fcn.00488f71
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x4481c8
mov edi, eax
sub edi, ebx
sar edi, 1
je 0x4481c8
cmp edi, 0x21
jae 0x448277
push edi
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.0048ac34
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.0046ef80
add esp, 0x10
test eax, eax
je 0x448263
lea edx, [esp + 0x68]
push edx
call fcn.00489436
mov esi, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x20], eax
add esp, 4
jmp 0x4481bd
lea eax, [esp + 0x68]
push eax
mov eax, dword [ebp + 0x10]
call fcn.00487400
mov dword [esp + 0x20], eax
add esp, 4
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
jmp 0x4481bd
add esi, 2
jmp 0x4481c8
inc dword [esp + 0x18]
add esi, 2
jmp 0x4480d1
test eax, eax
js 0x44836b
cmp eax, dword [esp + 0x4c]
jge 0x44836b
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 0x44836b
cmp dword [esp + 0x14], 0
je 0x448363
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.00490240
add esp, 0xc
cmp word [esp + 0x34], 0
je 0x448350
mov eax, dword [esp + 0x10]
xor edx, edx
mov word [edi + eax], dx
movzx eax, word [esp + 0x34]
sub eax, 0x4c
je 0x448345
sub eax, 8
je 0x448329
dec eax
jne 0x448350
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 0x4480d1
mov eax, dword [esp + 0x10]
call fcn.004124c0
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], edi
add dword [ebx + 4], eax
add esi, 2
jmp 0x4480d1
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 0x4480d1
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x18], ecx
add esi, 2
jmp 0x4480d1
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 2
jl 0x448030
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 0x447eb0
cmp dword [esp + 0x28], 0
je 0x44841d
sub eax, dword [ebp + 0x20]
mov dword [esp + 0x2c], eax
je 0x44840c
mov esi, dword [ebx + 4]
add esi, eax
cmp esi, dword [esp + 0x30]
jl 0x4483f3
mov edx, dword [ebx + 0xc]
lea ecx, [esi + esi + 2]
push ecx
push edx
call fcn.00489457
add esp, 8
test eax, eax
je 0x44847d
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.00490240
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.00471c00
jmp 0x4484dc
mov edx, dword [0x4be3fc]
cmp byte [edx + 0x100], 0
je 0x44846f
push 0xa
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.00487f25
mov ecx, dword [0x4c4624]
add esp, 0xc
push 0x4a59a4
push str.RegExReplace
push eax
call fcn.0042ea30
jmp 0x4484dc
mov edx, dword [0x4c26a8]
push edx
call fcn.00403400
jmp 0x4484dc
mov eax, dword [0x4be3fc]
cmp byte [eax + 0x100], 0
jne 0x44849e
mov ecx, dword [0x4c26a8]
push ecx
mov eax, 0xfffffffa
call fcn.00403400
jmp 0x4484c5
push 0xa
lea edx, [esp + 0x54]
push edx
push 0xfffffffffffffffa
call fcn.00487f25
mov ecx, dword [0x4c4624]
add esp, 0xc
push 0x4a59a4
push str.RegExReplace
push eax
call fcn.0042ea30
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4484dc
push eax
call fcn.004897ff
add esp, 4
mov dword [ebx + 0xc], 0
mov esi, dword [esp + 0x38]
test esi, esi
je 0x448550
cmp byte [esi + 0x17], 0
jne 0x4484ed
mov esi, dword [esi + 0xc]
mov al, byte [esi + 0x15]
test al, 2
je 0x448503
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 0x44852b
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 0x448538
test al, 0x10
jne 0x448545
cmp dword [0x4c2008], 0
je 0x448550
test al, 0x20
je 0x448550
test al, 8
je 0x448550
mov eax, esi
call fcn.00401160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret