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

Disassembly:
push 0xffffffffffffffff
push 0x434cc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [eax], 0xffffffff
cmp edx, dword [ebp + 8]
jge 0x407c25
mov edi, str._r_n_t
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push str._r_n_t
mov ecx, ebp
call fcn.00408af0
mov ebx, eax
xor esi, esi
cmp ebx, esi
jl 0x407c25
cmp dword [ebp + 8], ebx
ja 0x407822
call fcn.004242bc
mov ecx, ebp
call fcn.004056d0
mov ecx, dword [ebp + 4]
cmp byte [ecx + ebx], 0x3c
je 0x407986
mov edi, 0x44222c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push 0x44222c
mov ecx, ebp
call fcn.00403da0
mov edi, eax
cmp edi, esi
jge 0x40785c
mov edi, dword [ebp + 8]
push 0x20
call fcn.00429101
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x68], 0
je 0x40789e
push 6
mov ecx, esi
call fcn.004067d0
mov dl, byte [esp + 0x78]
lea ecx, [esi + 0x10]
push 0
mov byte [esp + 0x6c], 1
mov byte [ecx], dl
call fcn.00401d50
mov dword [esi], 0x43772c
jmp 0x4078a0
xor esi, esi
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0x40]
mov dword [esp + 0x18], esi
mov eax, dword [ecx + 4]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00409500
mov ecx, edi
lea edx, [esp + 0x40]
sub ecx, ebx
mov dword [esi + 8], edi
push ecx
push ebx
push edx
mov ecx, ebp
call fcn.00405380
mov ecx, dword [0x4375d4]
add esi, 0x10
push ecx
push 0
push eax
mov ecx, esi
mov dword [esp + 0x74], 2
call fcn.00401b50
or ebx, 0xffffffff
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], ebx
call fcn.00401d50
lea edx, [esp + 0x30]
mov ecx, esi
push edx
call fcn.00405040
mov ecx, dword [0x4375d4]
mov dword [esp + 0x68], 3
push ecx
push 0
push eax
mov ecx, esi
call fcn.00401b50
push 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], ebx
call fcn.00401d50
lea edx, [esp + 0x50]
mov ecx, esi
push edx
call fcn.00404f40
mov ecx, dword [0x4375d4]
mov dword [esp + 0x68], 4
push ecx
push 0
push eax
mov ecx, esi
call fcn.00401b50
push 1
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], ebx
call fcn.00401d50
mov edx, dword [esp + 0x78]
mov eax, edx
mov dword [edx], edi
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, ecx
jmp 0x4077e6
mov eax, dword [ebp + 8]
inc ebx
cmp eax, ebx
jle 0x407c25
ja 0x407999
call fcn.004242bc
mov ecx, ebp
call fcn.004056d0
mov eax, dword [ebp + 4]
cmp byte [eax + ebx], 0x3f
je 0x407c25
cmp dword [ebp + 8], ebx
ja 0x4079b7
call fcn.004242bc
mov ecx, ebp
call fcn.004056d0
mov ecx, dword [ebp + 4]
cmp byte [ecx + ebx], 0x21
jne 0x407a96
mov eax, dword [ebp + 8]
inc ebx
cmp eax, ebx
jle 0x407c25
ja 0x4079de
call fcn.004242bc
mov ecx, ebp
call fcn.004056d0
mov edx, dword [ebp + 4]
cmp byte [edx + ebx], 0x2d
jne 0x407c25
push 0x20
call fcn.00429101
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x68], 5
je 0x407a43
mov dword [esi], 0x437724
mov dword [esi + 4], 7
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0
lea eax, [esp + 0x74]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x6c], 6
call fcn.004052a0
mov dword [esi], 0x43771c
jmp 0x407a45
xor esi, esi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
add ecx, 0x40
push edx
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x20], esi
mov eax, dword [ecx + 4]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00409500
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebp
mov ecx, esi
call fcn.004084f0
test al, al
je 0x407c25
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, ecx
jmp 0x4077e6
cmp dword [ebp + 8], ebx
ja 0x407aa0
call fcn.004242bc
mov ecx, ebp
call fcn.004056d0
mov eax, dword [ebp + 4]
cmp byte [eax + ebx], 0x2f
je 0x407b96
push 0x4c
call fcn.00429101
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov dword [esp + 0x68], 9
je 0x407b43
mov dword [esi], 0x437724
mov dword [esi + 4], 5
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0
mov dl, byte [esp + 0x78]
lea ecx, [esi + 0x10]
push 0
mov byte [esp + 0x6c], 0xa
mov byte [ecx], dl
call fcn.00401d50
lea eax, [esp + 0x70]
lea ecx, [esp + 0x11]
push eax
push ecx
lea ecx, [esi + 0x24]
mov byte [esp + 0x70], 0xb
call fcn.00408860
lea edx, [esp + 0x12]
lea ecx, [esi + 0x34]
push edx
mov byte [esp + 0x6c], 0xc
call fcn.004018d0
lea eax, [esp + 0x13]
lea ecx, [esi + 0x40]
push eax
mov byte [esp + 0x6c], 0xd
call fcn.00408a10
mov dword [esi], 0x437728
jmp 0x407b45
xor esi, esi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
add ecx, 0x40
push edx
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x24], esi
mov eax, dword [ecx + 4]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00409500
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebp
mov ecx, esi
call fcn.00406de0
test al, al
je 0x407c25
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, ecx
jmp 0x4077e6
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x40]
lea edx, [edi + 0x10]
push edx
push 0x44224c
push eax
call fcn.00409be0
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp + 8]
mov dword [esp + 0x68], 7
lea edx, [ecx + ebx]
cmp edx, eax
jg 0x407c12
push ecx
lea eax, [ebx - 1]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, ebp
call fcn.00405380
mov eax, dword [esp + 0x44]
mov byte [esp + 0x68], 8
cmp eax, esi
jne 0x407be9
mov eax, 0x4375d0
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
push esi
call fcn.00402db0
cmp eax, esi
je 0x407c3c
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 7
call fcn.00401d50
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00401d50
xor al, al
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc
mov edx, dword [edi + 0x18]
mov edi, str._r_n_t
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [edx + ebx + 1]
push ecx
push str._r_n_t
mov ecx, ebp
call fcn.00408af0
mov edi, eax
mov eax, dword [ebp + 8]
cmp eax, edi
ja 0x407c6e
call fcn.004242bc
mov ecx, ebp
call fcn.004056d0
mov edx, dword [ebp + 4]
cmp byte [edx + edi], 0x3e
jne 0x407c02
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
inc edi
cmp ecx, esi
mov dword [eax], edi
je 0x407ca9
mov al, byte [ecx - 1]
test al, al
je 0x407c9f
cmp al, 0xff
je 0x407c9f
dec al
mov byte [ecx - 1], al
jmp 0x407ca9
dec ecx
push ecx
call fcn.0042912a
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x34], esi
cmp ecx, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
je 0x407cde
mov al, byte [ecx - 1]
test al, al
je 0x407cd4
cmp al, 0xff
je 0x407cd4
dec al
mov byte [ecx - 1], al
mov al, 1
jmp 0x407c27
dec ecx
push ecx
call fcn.0042912a
add esp, 4
mov al, 1
jmp 0x407c27