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

Disassembly:
push 0xffffffffffffffff
push 0x4b5448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], al
call fcn.004349a0
push 7
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0
call fcn.00470c40
push eax
mov ecx, ebp
mov byte [esp + 0x78], 1
call fcn.00475aa0
mov ecx, eax
call fcn.00471360
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 0
call fcn.004711f0
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00473c10
test al, al
je 0x47461d
mov ecx, dword [esp + 0x18]
mov al, 1
cmp ecx, 0xc
jne 0x47433a
test al, al
je 0x47461d
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.00473c10
mov ecx, dword [esp + 0x18]
cmp ecx, 0xc
je 0x474315
test al, al
je 0x47461d
cmp ecx, 2
je 0x47446c
cmp ecx, 5
jne 0x47461d
mov edi, 0x4da290
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x40]
push ebx
call fcn.00434ec0
test al, al
je 0x474390
mov edi, dword [esp + 0x40]
mov ecx, ebx
mov eax, ecx
mov esi, 0x4da290
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
call fcn.00434ea0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.00475090
test al, al
je 0x474492
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call fcn.00473c10
test al, al
je 0x474594
cmp dword [esp + 0x30], 0xb
jne 0x474594
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
call fcn.00475aa0
mov ecx, eax
call fcn.004721c0
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
mov dword [esp + 0x18], eax
call fcn.00476470
mov ecx, ebp
call fcn.00473920
mov ecx, ebp
mov bl, al
call fcn.004767f0
test bl, bl
je 0x474492
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.00473c10
test al, al
je 0x4744e5
mov ecx, dword [esp + 0x24]
cmp ecx, 2
je 0x47442e
cmp ecx, 0xa
je 0x47442e
cmp ecx, 0xc
jne 0x4744e5
cmp ecx, 0xc
mov al, 1
jne 0x47444e
test al, al
je 0x47444e
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.00473c10
mov ecx, dword [esp + 0x24]
cmp ecx, 0xc
je 0x474435
cmp ecx, 2
je 0x4744b5
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.00473c10
test al, al
je 0x47461d
jmp 0x47430a
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x47461d
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call fcn.004349a0
mov al, 1
jmp 0x4746c9
push 2
mov ecx, ebp
call fcn.004759f0
mov bl, al
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call fcn.004349a0
jmp 0x4746c7
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4744de
mov al, byte [ecx - 1]
test al, al
je 0x4744d4
cmp al, 0xff
je 0x4744d4
dec al
mov byte [ecx - 1], al
mov al, 1
jmp 0x4746c9
dec ecx
push ecx
call fcn.0049d2f9
add esp, 4
mov al, 1
jmp 0x4746c9
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], al
call fcn.004349a0
mov edi, 0x4d4be8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x50]
push ebx
call fcn.00434ec0
test al, al
je 0x47453e
mov edi, dword [esp + 0x50]
mov ecx, ebx
mov edx, ecx
mov esi, 0x4d4be8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x24]
push 2
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x80], 3
call fcn.00475a70
push 1
lea ecx, [esp + 0x50]
mov bl, al
mov byte [esp + 0x78], 0
call fcn.004349a0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4746c7
mov al, byte [ecx - 1]
test al, al
je 0x4746bd
cmp al, 0xff
je 0x4746bd
dec al
mov byte [ecx - 1], al
jmp 0x4746c7
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x60]
mov byte [esp + 0x60], al
call fcn.004349a0
mov edi, 0x4d4bc0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x60]
push ebx
call fcn.00434ec0
test al, al
je 0x4745eb
mov edi, dword [esp + 0x60]
mov ecx, ebx
mov edx, ecx
mov esi, 0x4d4bc0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
call fcn.00434ea0
lea eax, [esp + 0x30]
push 2
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x80], 2
call fcn.00475a70
push 1
lea ecx, [esp + 0x60]
mov bl, al
mov byte [esp + 0x78], 0
call fcn.004349a0
jmp 0x47449d
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], dl
call fcn.004349a0
mov edi, 0x4d4b9c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x50]
push ebx
call fcn.00434ec0
test al, al
je 0x474676
mov edi, dword [esp + 0x50]
mov ecx, ebx
mov eax, ecx
mov esi, 0x4d4b9c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
mov byte [ecx + ebx], 0
lea edx, [esp + 0x18]
push 2
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x80], 4
call fcn.00475a70
push 1
lea ecx, [esp + 0x50]
mov bl, al
mov byte [esp + 0x78], 0
call fcn.004349a0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4746c7
mov al, byte [ecx - 1]
test al, al
je 0x4746bd
cmp al, 0xff
je 0x4746bd
dec al
mov byte [ecx - 1], al
jmp 0x4746c7
dec ecx
push ecx
call fcn.0049d2f9
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4