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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
mov ebx, esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
mov dword [eax], esi
call fcn.004b4bd9
test eax, eax
jne 0x4776d3
push edi
mov edi, dword [ebp + 0x10]
cmp byte [0x705e84], bl
je 0x47729e
test edi, 0x8000
je 0x4772a3
mov dword [ebp - 4], esi
jmp 0x4772be
test edi, 0x10000
je 0x4772b4
mov dword [ebp - 4], 1
jmp 0x4772be
movzx eax, byte [0x705e85]
mov dword [ebp - 4], eax
test edi, 0x40000
je 0x4772ce
and edi, 0xfffdffff
jmp 0x4772dc
cmp dword [0x705f48], ebx
je 0x4772dc
or edi, 0x20000
push esi
and edi, 0xfff600e7
push 0x218
mov dword [ebp + 0x10], edi
call fcn.004965c4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x47767f
cmp dword [ebp - 4], ebx
je 0x47732a
cmp byte [0x705e84], bl
jne 0x47730d
xor eax, eax
jmp 0x477316
push 1
call dword [0x705ec8]
pop ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x47732a
push esi
call fcn.0045bc52
xor esi, esi
jmp 0x47767e
cmp dword [esi + 0xc], ebx
je 0x477339
push dword [esi + 0xc]
call dword [0x705ed0]
pop ecx
mov eax, edi
mov dword [esi + 0x14], 2
and eax, 0x2000000
mov byte [esi + 0x61], 0x6d
neg eax
mov dword [esi + 0x130], 1
push 0x30
sbb eax, eax
and eax, 0xffffff00
add eax, 0xff
mov dword [esi + 0x48], eax
lea eax, [esi + 0x1cc]
mov dword [esi + 0x10], eax
xor eax, eax
mov word [esi + 0x134], ax
lea eax, [esi + 0x78]
push 0x68f98c
push eax
call fcn.006269d0
xor edx, edx
mov byte [esi + 0x55], 1
push edx
push fcn.00461db5
push edx
mov dword [esi + 0xa4], edx
mov byte [esi + 0x5a], 0xff
mov eax, dword [0x705f28]
mov ecx, dword [0x705f2c]
or dword [esi + 0x20], 0xe00480e0
push 1
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x24]
push 0x68fe68
push esi
mov dword [esi + 0x34], ecx
mov dword [esi + 0x64], edx
mov dword [esi + 0xb8], 0x70643c
mov dword [esi + 0x24], eax
mov dword [esi + 0x1b8], edx
mov dword [esi + 0x1b4], edx
mov dword [esi + 0x1b0], edx
mov dword [esi + 0x1bc], edx
mov dword [esi + 0x18c], edx
mov dword [esi + 0x188], edx
mov dword [esi + 0x184], edx
mov dword [esi + 0x190], edx
call fcn.00467cfa
push 0
push fcn.00461db5
push 0
push 3
push 0x68fe68
push esi
call fcn.00467cfa
push 0
push fcn.00461db5
push 0
push 2
push 0x68fe68
push esi
call fcn.00467cfa
add esp, 0x54
push 0
push 0x477199
push 0
push 1
push str.NOCASE
push esi
call fcn.00467cfa
push 0
push 0x47fa9e
push 0
push 1
push str.RTRIM
push esi
call fcn.00467cfa
add esp, 0x30
cmp byte [esi + 0x57], bl
jne 0x47766f
push 7
pop eax
mov ecx, edi
mov dword [esi + 0x3c], edi
and ecx, eax
xor eax, eax
inc eax
shl eax, cl
test al, 0x46
jne 0x47748e
push 0x2c62a
call fcn.00496940
pop ecx
jmp 0x4774af
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.0049889e
mov edi, dword [ebp + 0x10]
add esp, 0x18
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
test eax, eax
je 0x477543
push 7
pop ecx
cmp eax, ecx
jne 0x4774c8
push esi
call fcn.00496cbd
pop ecx
xor ecx, ecx
mov eax, 0x66bf70
test ebx, ebx
push ebx
cmove eax, ecx
push eax
push dword [ebp - 4]
push esi
call fcn.0048bbc0
add esp, 0x10
test ebx, ebx
je 0x47766f
cmp dword [0x705e80], 0
je 0x477536
mov eax, dword [0x73e5f8]
test eax, eax
je 0x477504
push eax
call dword [0x705ed0]
pop ecx
push ebx
call dword [0x705eac]
sub dword [0x73e590], eax
dec dword [0x73e5b4]
push ebx
call dword [0x705ea4]
mov eax, dword [0x73e5f8]
pop ecx
pop ecx
test eax, eax
je 0x47766f
push eax
call dword [0x705ed8]
jmp 0x47753d
push ebx
call dword [0x705ea4]
pop ecx
jmp 0x47766f
mov eax, dword [esi + 0x10]
or edi, 0x100
push edi
xor ebx, ebx
add eax, 4
push ebx
push eax
push esi
push dword [ebp - 8]
push dword [esi]
call fcn.004862e9
add esp, 0x18
test eax, eax
je 0x47757b
push 7
pop ecx
cmp eax, 0xc0a
cmove eax, ecx
push eax
push esi
call fcn.0048bab2
pop ecx
jmp 0x47753d
mov eax, dword [esi + 0x10]
push dword [eax + 4]
call fcn.00485447
mov eax, dword [esi + 0x10]
push dword [eax + 4]
push esi
call fcn.0049e78c
mov ecx, dword [esi + 0x10]
add esp, 0xc
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], bl
jne 0x4775b3
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax + 0x4d]
push eax
push esi
call fcn.004a0636
pop ecx
pop ecx
mov eax, dword [esi + 0x10]
push dword [eax + 4]
call fcn.004861d6
push ebx
push esi
call fcn.0049e78c
mov ecx, dword [esi + 0x10]
add esp, 0xc
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [eax], str.main
mov eax, dword [esi + 0x10]
mov byte [eax + 8], 3
mov eax, dword [esi + 0x10]
mov dword [eax + 0x10], str.temp
mov eax, dword [esi + 0x10]
mov byte [eax + 0x18], 1
mov byte [esi + 0x61], 0x76
cmp byte [esi + 0x57], bl
jne 0x47766f
push ebx
push esi
call fcn.0048bab2
push 2
push str.MATCH
push esi
call fcn.0044f681
add esp, 0x14
push 7
pop ecx
cmp eax, ecx
jne 0x47761d
push esi
call fcn.00496cbd
pop ecx
push esi
call fcn.0045c335
pop ecx
test eax, eax
jne 0x477640
mov edi, 0x694c20
push esi
cmp edi, 0x694c28
jge 0x477699
call dword [edi]
add edi, 4
pop ecx
test eax, eax
je 0x47762d
push eax
push esi
call fcn.0048bab2
pop ecx
pop ecx
push dword [0x705e98]
push dword [0x705e94]
push ebx
push esi
call fcn.00481649
push 0x3e8
push 0x4af26f
push esi
call fcn.00452a1d
add esp, 0x1c
cmp dword [esi + 0xc], 0
je 0x47767f
push dword [esi + 0xc]
call dword [0x705ed8]
pop ecx
push esi
call fcn.0045c335
mov ebx, eax
pop ecx
pop edi
cmp bl, 7
jne 0x4776ac
push esi
call fcn.0045b0c9
pop ecx
xor esi, esi
jmp 0x4776b4
call fcn.00483e6d
push esi
call fcn.0045c335
pop ecx
pop ecx
test eax, eax
jne 0x47766f
jmp 0x477649
test ebx, ebx
je 0x4776b4
mov byte [esi + 0x61], 0xba
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x4776d1
push eax
call fcn.00468140
add eax, 0xfffffffc
push eax
call fcn.0045bc52
pop ecx
pop ecx
mov eax, ebx
pop esi
pop ebx
leave
ret