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

Disassembly:
push 0xffffffffffffffff
push 0x4ec1e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
push 5
lea ecx, [esp + 0x84]
mov dword [esp + 0x74], 1
call fcn.004bec90
movzx ax, al
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x78]
and eax, 0xffff
mov dword [esp + 0x20], eax
push ecx
lea edx, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.004be980
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00446f60
push 0xa
mov esi, eax
call fcn.004bba40
mov ecx, dword [esp + 0x24]
add esp, 4
movsx eax, si
cmp eax, ecx
jge 0x4471bc
cmp si, 0xffff
je 0x4475ce
mov ecx, dword [esp + 0x84]
mov bl, byte [ecx + eax*2 + 1]
mov al, byte [ecx + eax*2]
mov cl, al
and eax, 0xff
shr cl, 3
and eax, 0x80000007
jns 0x447223
dec eax
or eax, 0xfffffff8
inc eax
mov byte [esp + 0x24], al
xor ax, ax
mov al, cl
mov ecx, dword [esp + 0x88]
push eax
mov word [esp + 0x30], ax
call fcn.004bec90
mov edx, dword [esp + 0x24]
mov ecx, 7
and edx, 0xff
mov byte [esp + 0x14], al
sub ecx, edx
shr al, cl
mov dword [esp + 0x28], ecx
and al, 1
cmp bl, 1
jne 0x447264
cmp al, bl
jmp 0x447266
test al, al
lea ecx, [esp + 0x10]
sete bl
call fcn.004be970
test bl, bl
mov byte [esp + 0x70], 2
je 0x447292
mov eax, dword [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
lea esi, [eax + esi*2]
push 0x5110bc
jmp 0x4472a8
mov ecx, dword [esp + 0x18]
push ecx
lea esi, [ecx + esi*2 + 1]
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x5110b4
call fcn.004bea10
lea ecx, [esp + 0x14]
call fcn.004beca0
push esi
push 5
lea ecx, [esp + 0x88]
call fcn.004bedb0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x5110ac
call fcn.004bea10
lea edx, [esp + 0x3c]
push edx
call fcn.004d0560
add esp, 4
lea eax, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x78], 3
call fcn.004be980
lea ecx, [esp + 0x4c]
push ecx
call fcn.004d0560
add esp, 8
mov esi, eax
mov ecx, dword [0x4f73d0]
mov eax, dword [esi + 8]
mov ebp, ecx
mov byte [esp + 0x70], 4
cmp eax, ebp
jae 0x447322
mov ebp, eax
sub ecx, dword [esp + 0x40]
cmp ecx, ebp
ja 0x44732f
call fcn.004deb1b
xor edi, edi
cmp ebp, edi
jbe 0x44737e
mov edx, dword [esp + 0x40]
push edi
lea ecx, [esp + 0x3c]
lea ebx, [edx + ebp]
push ebx
call fcn.00412290
test al, al
je 0x44737e
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x447357
mov esi, 0x4f7480
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push ebx
lea edi, [ecx + eax]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
call fcn.00412270
xor edi, edi
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x70], 3
cmp ecx, edi
je 0x4473a6
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x44739d
cmp al, 0xff
je 0x44739d
dec al
mov byte [ecx], al
jmp 0x4473a6
push ecx
call fcn.004deb10
add esp, 4
mov eax, dword [0x4f73d0]
mov edx, dword [esp + 0x40]
sub eax, edx
mov dword [esp + 0x4c], edi
cmp eax, 1
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
ja 0x4473c7
call fcn.004deb1b
mov eax, dword [esp + 0x40]
push edi
lea ecx, [esp + 0x3c]
lea esi, [eax + 1]
push esi
call fcn.00412290
test al, al
je 0x4473f8
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov byte [edx + ecx], 0xd
mov dword [esp + 0x40], esi
lea eax, [edx + ecx]
mov eax, dword [esp + 0x3c]
mov byte [eax + esi], 0
mov ecx, dword [0x4f73d0]
mov edx, dword [esp + 0x40]
sub ecx, edx
cmp ecx, 1
ja 0x44740e
call fcn.004deb1b
mov edx, dword [esp + 0x40]
push edi
lea ecx, [esp + 0x3c]
lea esi, [edx + 1]
push esi
call fcn.00412290
test al, al
je 0x44743d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov byte [eax], 0xa
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x40], esi
mov byte [edx + esi], 0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004be980
lea ecx, [esp + 0x5c]
push ecx
call fcn.004d0560
add esp, 8
mov esi, eax
mov eax, dword [0x4f73d0]
mov ecx, dword [esi + 8]
mov ebp, eax
mov byte [esp + 0x70], 5
cmp ecx, ebp
jae 0x447472
mov ebp, ecx
sub eax, dword [esp + 0x40]
cmp eax, ebp
ja 0x44747f
call fcn.004deb1b
cmp ebp, edi
jbe 0x4474cf
mov edx, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x3c]
lea ebx, [edx + ebp]
push ebx
call fcn.00412290
test al, al
je 0x4474cd
mov esi, dword [esi + 4]
test esi, esi
jne 0x4474a6
mov esi, 0x4f7480
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edi, [ecx + eax]
mov ecx, ebp
mov edx, ecx
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 + 0x3c]
mov dword [esp + 0x40], ebx
mov byte [eax + ebx], 0
xor edi, edi
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x70], 3
cmp eax, edi
je 0x4474f9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4474f0
cmp al, 0xff
je 0x4474f0
dec al
mov byte [ecx], al
jmp 0x4474f9
push ecx
call fcn.004deb10
add esp, 4
push edi
push 4
sub esp, 0x10
mov dword [esp + 0x74], edi
mov esi, esp
mov dword [esp + 0x48], esp
push ecx
mov dword [esp + 0x7c], edi
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x50f634
mov dword [esp + 0x88], edi
call fcn.004bea10
push esi
call fcn.004d0560
sub esp, 8
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x9c], 6
call fcn.004118e0
mov ecx, 0x520200
mov byte [esp + 0x98], 3
call fcn.004cb6b0
cmp ax, 3
je 0x4475a4
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x447585
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x44757c
cmp al, 0xff
je 0x44757c
dec al
mov byte [ecx], al
jmp 0x447585
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0x70], 1
call fcn.004beab0
jmp 0x4471bc
mov ecx, dword [esp + 0x28]
mov al, 1
shl al, cl
mov cl, byte [esp + 0x14]
mov edx, dword [esp + 0x2c]
xor cl, al
mov byte [esp + 0x14], cl
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
call fcn.004bedb0
jmp 0x447560
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], 0
call fcn.004beab0
lea ecx, [esp + 0x80]
mov dword [esp + 0x70], 0xffffffff
call fcn.004beab0
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0x14