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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x607274
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea esi, [ebx + 0x20]
push 0xbb
mov eax, esi
call fcn.005aa990
mov dword [esp + 0x14], eax
push 0x7a
mov eax, esi
call fcn.005aa990
mov dword [esp + 0x1c], eax
push 0xba
mov eax, esi
call fcn.005aa990
mov edi, eax
push 0x8b
mov eax, esi
call fcn.005aa990
test edi, edi
je 0x480bce
cmp dword [esp + 0x1c], 0
je 0x480bce
cmp dword [esp + 0x14], 0
je 0x480bce
test eax, eax
je 0x480bce
mov eax, dword [ebx + 0x52c]
lea esi, [esp + 0x34]
call fcn.0047fe80
xor eax, eax
mov dword [esp + 0xa8], eax
mov edi, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x480428
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
sub eax, edi
sar eax, 5
cmp ecx, eax
jae 0x480428
mov eax, dword [esp + 0x10]
push eax
lea esi, [ebx + 0x40c]
call fcn.00447e10
add dword [esp + 0x20], 1
add dword [esp + 0x10], 0x20
jmp 0x4803f7
mov eax, dword [ebx + 0x30c]
call fcn.00458ed0
lea ecx, [edi + 4]
xor esi, esi
mov dword [esp + 0x10], ecx
lea esp, [esp]
test edi, edi
je 0x480496
mov ecx, dword [esp + 0x3c]
mov eax, ecx
sub eax, edi
sar eax, 5
cmp esi, eax
jae 0x48047e
cmp esi, 0xa
jae 0x48047e
cmp esi, eax
jb 0x480462
call dword [0x6105e8]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x30c]
push 0
push edx
call fcn.00458fd0
add esi, 1
add dword [esp + 0x10], 0x20
jmp 0x480440
mov eax, ecx
sub eax, edi
sar eax, 5
cmp eax, 0xa
jb 0x480496
mov eax, dword [ebx + 0x30c]
push eax
call fcn.00458f60
cmp byte [ebp + 0xc], 0
lea eax, [ebx + 0x20]
jne 0x480585
push 0xb1
call fcn.005aa990
mov esi, eax
test esi, esi
je 0x480bb9
mov eax, dword [ebx + 0x30c]
mov edx, dword [eax + 0x184]
push 0
push 0
push 0x8001
push edx
call dword [0x610850]
mov eax, dword [ebx + 0x30c]
mov cl, byte [eax + 0x210]
test cl, cl
jne 0x480574
mov eax, dword [esi]
mov edx, dword [eax + 0xb8]
mov ecx, esi
call edx
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add eax, 2
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 4]
push eax
push ecx
mov dword [esp + 0x54], edx
call dword [0x6109c8]
mov edx, dword [ebx + 0x30c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0x11
push 0
push 0
push ecx
push edx
push 0xffffffffffffffff
push eax
call dword [0x610838]
test edi, edi
jne 0x48054a
xor eax, eax
jmp 0x480553
mov eax, dword [esp + 0x3c]
sub eax, edi
sar eax, 5
mov ebx, dword [ebx + 0x30c]
mov edx, dword [ebx]
mov edx, dword [edx + 4]
test eax, eax
setne al
push 1
mov ecx, ebx
push eax
call edx
lea eax, [esp + 0x34]
push eax
jmp 0x480bbe
mov byte [eax + 0x210], 0
lea eax, [esp + 0x34]
push eax
jmp 0x480bbe
mov cl, byte [ebx + 0x2e0]
push 0xaf
mov byte [esp + 0x1f], cl
mov byte [ebx + 0x2e0], 0
call fcn.005aa990
test eax, eax
je 0x4805ad
push 0
mov edi, eax
call fcn.005cd330
push 0x102
lea eax, [ebx + 0x20]
call fcn.005aa990
test eax, eax
je 0x4805cc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x284]
push 1
call eax
mov cl, byte [esp + 0x1b]
mov byte [ebx + 0x2e0], cl
mov eax, dword [ebx + 0x410]
test eax, eax
je 0x4805f1
mov edx, dword [ebx + 0x414]
sub edx, eax
sar edx, 2
jne 0x480877
mov edi, dword [esp + 0x1c]
call fcn.0046d8d0
lea eax, [ebx + 0x3e4]
push eax
lea ecx, [esp + 0x64]
call dword [0x610494]
mov byte [esp + 0xa8], 1
cmp dword [ebx + 0x398], 0
je 0x4806c0
lea ecx, [esp + 0x44]
call dword [0x61049c]
lea ecx, [esp + 0x7c]
push 0
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], 2
call fcn.004e2d00
add esp, 8
mov byte [esp + 0xa8], 3
cmp dword [eax + 0x18], 8
jb 0x480658
mov eax, dword [eax + 4]
jmp 0x48065b
add eax, 4
push eax
lea edx, [esp + 0x48]
push str.keyword_s
push edx
call fcn.004ce830
add esp, 0xc
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 2
call dword [0x6105a0]
sub esp, 0x1c
lea eax, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call dword [0x610494]
mov ecx, dword [ebx + 0x398]
push 0xffffffffffffffff
push 3
call fcn.0048bff0
mov esi, dword [ebx + 0x398]
call fcn.0048c0e0
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 1
call dword [0x6105a0]
push 0xbc
lea eax, [ebx + 0x20]
call fcn.005aa990
test eax, eax
mov dword [esp + 0x10], eax
je 0x480839
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x4806e8
lea eax, [esp + 0x64]
mov edi, dword [ebx + 0x188]
push eax
mov edx, str.bold14
lea ecx, [ebx + 0x20]
lea esi, [esp + 0x28]
call fcn.005b33e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add esp, 4
cmp ecx, 0x66
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], eax
jle 0x4807a8
mov eax, dword [esp + 0x64]
mov esi, 8
cmp dword [esp + 0x78], esi
jae 0x480736
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x74]
add ecx, 0xffffffff
push ecx
push eax
lea ecx, [esp + 0x68]
call dword [0x610518]
push eax
lea ecx, [esp + 0x64]
call dword [0x61059c]
cmp dword [esp + 0x78], esi
mov eax, dword [esp + 0x64]
jae 0x480762
lea eax, [esp + 0x64]
mov edi, dword [ebx + 0x188]
push eax
mov edx, str.bold14
lea ecx, [ebx + 0x20]
lea esi, [esp + 0x28]
call fcn.005b33e0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0xc]
add esp, 4
cmp ecx, 0x66
mov dword [esp + 0x50], edx
jg 0x480723
push 0x61f414
lea ecx, [esp + 0x64]
call dword [0x610590]
lea ecx, [esp + 0x7c]
call dword [0x61049c]
mov edi, 0x446
lea eax, [esp + 0x44]
mov byte [esp + 0xa8], 4
call fcn.004011f0
mov byte [esp + 0xa8], 5
mov ecx, dword [esp + 0x64]
mov edx, 8
cmp dword [esp + 0x78], edx
jae 0x4807e3
lea ecx, [esp + 0x64]
cmp dword [eax + 0x18], edx
jb 0x4807ed
mov eax, dword [eax + 4]
jmp 0x4807f0
add eax, 4
push ecx
push eax
lea eax, [esp + 0x84]
push eax
call fcn.004ce830
add esp, 0xc
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 4
call dword [0x6105a0]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x150]
lea eax, [esp + 0x7c]
push eax
call edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 1
call dword [0x6105a0]
mov ecx, ebx
call fcn.0047fea0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 0
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 1
call edx
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 0
call dword [0x6105a0]
jmp 0x480aaa
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [eax + 0xcc]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
xor edi, edi
push edi
call edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov byte [esp + 0xa8], 6
mov ecx, dword [ebx + 0x410]
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x480a30
mov eax, dword [ebx + 0x414]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x480a30
test ecx, ecx
je 0x4808e6
mov eax, dword [ebx + 0x414]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4808ec
call dword [0x6105e8]
mov eax, dword [ebx + 0x410]
lea ecx, [edi*4]
add eax, ecx
mov eax, dword [eax]
push eax
lea eax, [ebx + 0x1f8]
mov dword [esp + 0x24], ecx
call fcn.0040c900
mov esi, eax
test esi, esi
je 0x480a24
push 0x548
call fcn.005e694e
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0xa8], 7
je 0x480956
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x6111d4
call dword [0x610498]
mov ecx, dword [esp + 0x2c]
push esi
call fcn.00465e00
mov esi, eax
jmp 0x480958
xor esi, esi
test esi, esi
mov byte [esp + 0xa8], 6
mov dword [esp + 0x10], esi
je 0x480a24
mov ecx, dword [ebx + 0x410]
test ecx, ecx
je 0x480985
mov eax, dword [ebx + 0x414]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x48098b
call dword [0x6105e8]
mov eax, dword [ebx + 0x410]
add eax, dword [esp + 0x20]
lea edi, [esp + 0x7c]
mov ecx, dword [eax]
push ecx
call fcn.00405ca0
add esp, 4
mov edx, edi
push edx
mov byte [esp + 0xac], 8
call fcn.004d7a10
add esp, 4
test al, al
je 0x480a00
mov eax, dword [esi + 0x420]
and eax, 0xfffffffa
mov ecx, edi
or eax, 2
push ecx
lea ecx, [esi + 0x424]
mov dword [esi + 0x420], eax
call dword [0x61059c]
mov eax, dword [esi + 0x3ac]
test eax, eax
mov byte [esi + 0x3a8], 1
je 0x4809f4
mov byte [eax + 0xb8], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x114]
mov ecx, esi
call eax
lea ecx, [esp + 0x10]
push ecx
lea esi, [esp + 0x48]
call fcn.00448210
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 6
call dword [0x6105a0]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
add edi, 1
jmp 0x4808ae
push 1
push esi
push ebx
call fcn.00481ae0
lea edx, [esp + 0x44]
push edx
mov eax, esi
call fcn.0046ddc0
mov eax, dword [esi]
mov edx, dword [eax + 0x118]
mov ecx, esi
xor edi, edi
call edx
test al, al
je 0x480a83
mov eax, dword [esi + 0x510]
test eax, eax
jg 0x480a64
lea edi, [eax - 1]
mov esi, dword [esi + 0x4e4]
test esi, esi
je 0x480a83
mov eax, esi
call fcn.00471160
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x15c]
call edx
mov byte [esp + 0xa8], 0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x480a9c
push eax
call fcn.005e6954
add esp, 4
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
cmp byte [ebx + 0x3e], 0
lea edi, [ebx + 0x20]
je 0x480ac0
mov eax, dword [edi + 0x20]
push eax
mov eax, edi
call fcn.005aa260
jmp 0x480ad1
mov eax, dword [edi + 0x164]
push 0
push 0
push eax
call dword [0x6109cc]
push 0x69
mov eax, edi
call fcn.005aa990
test eax, eax
je 0x480bb2
mov ecx, dword [eax + 0x45c]
push 0x8b
mov eax, edi
mov dword [esp + 0x18], ecx
call fcn.005aa990
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x480bb2
test esi, esi
je 0x480bb2
mov eax, dword [eax + 0x5d4]
push eax
mov eax, edi
call fcn.005aa990
mov edi, eax
test edi, edi
je 0x480bb2
mov edx, dword [esi]
mov eax, dword [edx + 0xd4]
mov ecx, esi
call eax
cmp eax, edi
je 0x480b5a
mov edx, dword [esi]
mov eax, dword [edx + 0xd4]
mov ecx, esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x204]
push esi
call eax
push edi
or eax, 0xffffffff
mov ecx, esi
call fcn.005c5a10
mov edx, dword [esi]
mov eax, dword [edx + 0xc8]
mov ecx, esi
call eax
test al, al
jne 0x480b78
mov edx, dword [esi]
mov eax, dword [edx + 0x284]
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xcc]
push 1
mov ecx, esi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x1ec]
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x1e8]
mov ecx, edi
call eax
test eax, eax
je 0x480bb2
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x284]
push 1
call eax
mov esi, ebx
call fcn.004457f0
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0xac], 0xffffffff
call fcn.00480d10
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.005e693f
mov esp, ebp
pop ebp
ret 8