Function at 0x453b80
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 + 0x20]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, eax
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [esi + 8], ecx
mov dword [esi], eax
cmp edi, 3
jle 0x453bba
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
cmp dword [eax + 8], 4
jne 0x453bba
mov eax, dword [eax]
mov dword [esp + 0x38], eax
jmp 0x453bbe
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], ecx
cmp edi, 2
jle 0x453be1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
lea ecx, [esp + 0xb0]
call fcn.0045ae50
mov dword [esp + 0x34], eax
xor ecx, ecx
jmp 0x453be9
mov dword [esp + 0x34], 0x4b09ac
mov dword [esp + 0x28], ecx
mov dword [esi + 4], ecx
cmp edi, 4
jle 0x453c11
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 8], 3
je 0x453c11
push 0
call fcn.0045ad10
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x453c19
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [ebp + 0x18]
xor edi, edi
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], ecx
je 0x453c58
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push edi
push ebx
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
call fcn.00498380
add esp, 0x20
mov dword [esp + 0x30], eax
cmp eax, 0xffffffff
jne 0x453d88
mov eax, dword [ebp + 0x1c]
test edi, edi
je 0x454164
cmp ebx, eax
jge 0x454164
cmp dword [esp + 0x1c], 0
je 0x454164
mov edx, dword [esp + 0x18]
movzx eax, word [edx]
mov ecx, eax
lea edx, [ecx + 0x2800]
mov ebx, 0x3ff
xor edi, edi
cmp dx, bx
ja 0x453ce8
mov edx, dword [esp + 0x18]
movzx edx, word [edx + 2]
mov ebx, 0xdc00
cmp dx, bx
jb 0x453ce8
mov ebx, 0xdfff
cmp dx, bx
ja 0x453ce8
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ebx, dword [esp + 0x18]
mov word [edx + eax*2], cx
mov ecx, 1
add dword [esi + 4], ecx
mov bx, word [ebx + 2]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov word [edx + eax*2], bx
mov ebx, dword [ebp + 0x20]
add dword [esi + 4], ecx
mov eax, dword [ebp + 0x18]
add ebx, 2
mov dword [ebp + 0x20], ebx
lea ecx, [eax + ebx*2]
jmp 0x453c1e
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov ebx, dword [ebp + 0x20]
mov word [edx + ecx*2], ax
inc dword [esi + 4]
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 4]
inc ebx
cmp word [eax], 0xd
mov dword [ebp + 0x20], ebx
jne 0x454159
cmp word [eax + 2], 0xa
jne 0x454159
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x454159
mov eax, dword [ecx]
cmp eax, 0x50435245
je 0x453d70
sub eax, 0x45524350
neg eax
sbb eax, eax
and eax, 0x19
add eax, 0xffffffe3
test eax, eax
jne 0x454159
mov eax, dword [esp + 0x4c]
test eax, 0x400000
je 0x454159
mov eax, dword [esi + 0xc]
mov ecx, 0xa
mov word [eax + edx*2], cx
inc dword [esi + 4]
mov eax, dword [ebp + 0x18]
inc ebx
mov dword [ebp + 0x20], ebx
lea ecx, [eax + ebx*2]
jmp 0x453c1e
test byte [ecx + 0xc], 2
je 0x454159
mov eax, dword [ecx + 8]
and eax, 0x27fc7a7f
mov dword [esp + 0x4c], eax
jmp 0x453d47
test eax, eax
js 0x4541e3
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, 1
add dword [esp + 0x24], eax
sub dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x24]
mov edi, dword [eax]
mov edx, dword [eax + 4]
add edi, edi
sub edi, dword [esp + 0x18]
mov dword [esp + 0x44], edx
add edi, dword [ebp + 0x18]
mov dword [esp + 0x20], 0
sar edi, 1
mov dword [esp + 0x40], edi
jmp 0x453dd4
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x20], 0
je 0x453e68
lea eax, [ebx + 3]
cmp eax, dword [esp + 0x28]
jle 0x453e37
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 0x1c]
push edx
lea ecx, [ebx + 2]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, ebx
sub eax, edx
push ecx
mov ecx, dword [esp + 0x34]
cdq
idiv ecx
push ecx
mov edi, eax
call fcn.00480c10
lea edx, [eax + eax]
add esp, 0x14
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
push edx
push eax
call fcn.0049a287
add esp, 8
test eax, eax
je 0x45422c
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
mov dword [esi + 0xc], eax
test edi, edi
je 0x453e59
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
lea ecx, [edi + edi]
push ecx
mov ecx, dword [esi + 0xc]
push edx
lea edx, [ecx + eax*2]
push edx
call fcn.004a3cc0
add esp, 0xc
add dword [esi + 4], edi
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
lea ecx, [ecx + eax*2]
mov dword [esp + 0x10], ecx
jmp 0x453e71
mov ebx, dword [esi + 4]
add ebx, edi
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x34]
cmp dword [esp + 0x20], 0
movzx eax, word [edi]
mov edx, edi
je 0x453eac
test ax, ax
je 0x453ea1
cmp ax, 0x24
je 0x453e9d
add edi, 2
mov word [ecx], ax
movzx eax, word [edi]
add ecx, 2
test ax, ax
jne 0x453e86
mov dword [esp + 0x10], ecx
mov eax, edi
sub eax, edx
sar eax, 1
add dword [esi + 4], eax
jmp 0x453ecf
test ax, ax
je 0x453ec3
cmp ax, 0x24
je 0x453ec3
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x453eb1
mov eax, edi
sub eax, edx
sar eax, 1
add ebx, eax
mov dword [esp + 0x14], ebx
cmp word [edi], 0
je 0x454128
movzx eax, word [edi + 2]
xor ebx, ebx
mov dword [esp + 0x48], ebx
cmp ax, bx
je 0x453f29
mov esi, eax
test esi, 0xffffff80
jne 0x453f07
push 2
push esi
call fcn.0049b9cc
add esp, 8
test eax, eax
je 0x453f07
and esi, 0xffdf
mov eax, esi
movzx ecx, ax
cmp ecx, 0x4c
je 0x453f19
add ecx, 0xffffffac
cmp ecx, 1
ja 0x453f29
movzx ecx, ax
movzx eax, word [edi + 4]
mov dword [esp + 0x48], ecx
mov ebx, 1
movzx ecx, ax
mov esi, closesocket
test ecx, ecx
je 0x453f5f
cmp ecx, 0x24
je 0x45401f
cmp ecx, 0x7b
je 0x453f93
add eax, 0xffffffd0
cmp ax, 9
ja 0x453f5f
lea esi, [ecx - 0x30]
lea edi, [edi + ebx*2 + 2]
cmp esi, 0x80000000
jne 0x45403e
cmp dword [esp + 0x20], 0
je 0x454027
mov cx, word [edi]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov word [eax], cx
add eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
inc dword [eax + 4]
mov ecx, dword [esp + 0x10]
add edi, 2
mov esi, eax
jmp 0x453e75
lea eax, [edi + ebx*2 + 4]
push 0x7d
push eax
mov dword [esp + 0x34], eax
call fcn.0049a9ce
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
je 0x453f5f
mov ebx, eax
sub ebx, dword [esp + 0x2c]
sar ebx, 1
je 0x453f5f
cmp ebx, 0x21
jae 0x454016
mov edx, dword [esp + 0x2c]
push ebx
push edx
lea eax, [esp + 0x70]
push eax
call fcn.0049d114
add esp, 0xc
xor ecx, ecx
push ecx
push 1
push ecx
push 1
lea eax, [esp + 0x78]
mov word [esp + ebx*2 + 0x78], cx
call fcn.0047fed0
add esp, 0x10
test eax, eax
je 0x454005
lea edx, [esp + 0x68]
push edx
call fcn.0049a18d
mov edi, dword [esp + 0x40]
add esp, 4
mov esi, eax
jmp 0x453f53
mov edi, dword [ebp + 0x24]
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x68]
call fcn.004993f0
mov esi, eax
mov edi, dword [esp + 0x3c]
jmp 0x453f53
add edi, 2
jmp 0x453f5f
inc dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add edi, 2
jmp 0x453e75
test esi, esi
js 0x454115
cmp esi, dword [esp + 0x30]
jge 0x454115
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx + esi*8]
mov esi, dword [ecx + esi*8 + 4]
sub esi, eax
je 0x454115
cmp dword [esp + 0x20], 0
je 0x454111
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x10]
lea ebx, [esi + esi]
push ebx
lea eax, [edx + eax*2]
push eax
push ecx
call fcn.004a3cc0
mov eax, dword [esp + 0x54]
add esp, 0xc
test ax, ax
je 0x4540f5
mov ecx, dword [esp + 0x10]
movzx eax, ax
xor edx, edx
sub eax, 0x4c
mov word [ecx + ebx], dx
je 0x4540ee
sub eax, 8
je 0x4540cb
dec eax
jne 0x4540f5
push ecx
call dword [sym.imp.USER32.dll_CharUpperW]
add dword [esp + 0x10], ebx
mov eax, dword [ebp + 8]
add dword [eax + 4], esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add edi, 2
mov esi, eax
jmp 0x453e75
mov eax, ecx
call fcn.0041a180
add dword [esp + 0x10], ebx
mov eax, dword [ebp + 8]
add dword [eax + 4], esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add edi, 2
mov esi, eax
jmp 0x453e75
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
add dword [esp + 0x10], ebx
mov eax, dword [ebp + 8]
add dword [eax + 4], esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add edi, 2
mov esi, eax
jmp 0x453e75
add dword [esp + 0x14], esi
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add edi, 2
jmp 0x453e75
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, 2
jl 0x453dd0
mov eax, dword [ebp + 0x24]
mov edi, dword [eax]
sub edi, dword [eax + 4]
mov ebx, dword [esp + 0x44]
neg edi
sbb edi, edi
and edi, 0xfffffbf0
add edi, 0x410
mov dword [ebp + 0x20], ebx
mov eax, dword [ebp + 0x18]
lea ecx, [eax + ebx*2]
jmp 0x453c1e
cmp dword [esp + 0x24], 0
je 0x4541c7
sub eax, ebx
mov ebx, eax
je 0x4541b6
mov edi, dword [esi + 4]
add edi, ebx
cmp edi, dword [esp + 0x28]
jl 0x454198
mov eax, dword [esi + 0xc]
lea edx, [edi + edi + 2]
push edx
push eax
call fcn.0049a287
add esp, 8
test eax, eax
je 0x45422c
mov dword [esi + 0xc], eax
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx]
push ecx
mov ecx, dword [esi + 0xc]
push edx
lea edx, [ecx + eax*2]
push edx
call fcn.004a3cc0
add esp, 0xc
mov dword [esi + 4], edi
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esi + 0xc]
mov dword [esi], eax
mov ecx, dword [0x4daf14]
push 1
push 0
push 0xffffffffffffffff
push 0x4b09bc
push ecx
call fcn.004833e0
jmp 0x45428e
mov edx, dword [0x4d6b14]
test byte [edx + 0x100], 1
je 0x45421e
mov ecx, dword [esp + 0x30]
push 0xa
lea eax, [esp + 0x54]
push eax
push ecx
call fcn.00499a65
mov ebx, dword [0x4dbd5c]
add esp, 0xc
push 0x4b09ac
push str.RegExReplace
push eax
call fcn.00439d90
jmp 0x45428e
mov edx, dword [0x4daf14]
push edx
call fcn.004040c0
jmp 0x45428e
mov eax, dword [0x4d6b14]
test byte [eax + 0x100], 1
jne 0x45424d
mov ecx, dword [0x4daf14]
push ecx
mov eax, 0xfffffffa
call fcn.004040c0
jmp 0x454277
push 0xa
lea edx, [esp + 0x54]
push edx
push 0xfffffffffffffffa
call fcn.00499a65
mov ebx, dword [0x4dbd5c]
add esp, 0xc
push 0x4b09ac
push str.RegExReplace
push eax
call fcn.00439d90
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45428e
push eax
call fcn.0049a24d
add esp, 4
mov dword [esi + 0xc], 0
mov esi, dword [esp + 0x38]
test esi, esi
je 0x454302
cmp byte [esi + 0x17], 0
jne 0x45429f
mov esi, dword [esi + 0xc]
mov al, byte [esi + 0x15]
test al, 2
je 0x4542b5
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 + 0x24]
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 0x4542dd
mov eax, esi
call fcn.004011c0
and byte [esi + 0x15], 0x8f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x4da870], 0
je 0x4542ea
test al, 0x10
jne 0x4542f7
cmp dword [0x4da874], 0
je 0x454302
test al, 0x20
je 0x454302
test al, 8
je 0x454302
mov eax, esi
call fcn.004011c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret