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

Disassembly:
push 0xffffffffffffffff
push 0x46de6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xb5]
mov byte [esp + 0xb4], 0
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [esp + 0x17]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], esi
mov byte [esp + 0x3c], al
call fcn.00404d20
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50c], 0
call fcn.00404d20
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50c], 1
mov byte [esp + 0x1c], dl
call fcn.00404d20
mov eax, dword [esp + 0x514]
mov byte [esp + 0x508], 2
test eax, eax
jne 0x42147c
mov eax, dword [0x4727b8]
add esi, 4
push eax
push 0
jmp 0x421488
mov ecx, dword [0x4727b8]
add esi, 0x14
push ecx
push 0
push esi
lea ecx, [esp + 0x24]
call fcn.004047b0
mov edx, dword [0x4727b8]
lea eax, [esp + 0x18]
push edx
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.004047b0
mov edi, 0x48a910
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x48a910
lea ecx, [esp + 0x30]
call fcn.004046f0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4214d4
mov eax, 0x4727b4
lea ecx, [esp + 0x1b8]
push ecx
push eax
call dword [0x47230c]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebx
je 0x4216da
test byte [esp + 0x1b8], 0x10
jne 0x4215c8
lea edx, [esp + 0x1e4]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.00408280
add esp, 0xc
mov edx, dword [0x4727b8]
lea ecx, [esp + 0x38]
push edx
push 0
push eax
mov byte [esp + 0x514], 3
call fcn.004047b0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x50c], 2
call fcn.00404d20
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x421555
mov eax, 0x4727b4
push eax
call fcn.0040f670
add esp, 4
test eax, eax
je 0x4215c8
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x421597
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x421582
mov eax, 0x4727b4
lea ecx, [esp + 0xb4]
push ecx
push eax
call fcn.00448770
add esp, 8
test eax, eax
jge 0x4215c8
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4215a4
mov edi, 0x4727b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xb4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [0x472258]
lea ecx, [esp + 0x1b8]
push ecx
push ebx
call ebp
test eax, eax
je 0x4216cf
mov bl, 4
test byte [esp + 0x1b8], 0x10
jne 0x4216b8
lea edx, [esp + 0x1e4]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.00408280
add esp, 0xc
mov edx, dword [0x4727b8]
lea ecx, [esp + 0x38]
push edx
push 0
push eax
mov byte [esp + 0x514], bl
call fcn.004047b0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x50c], 2
call fcn.00404d20
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x421645
mov eax, 0x4727b4
push eax
call fcn.0040f670
add esp, 4
test eax, eax
je 0x4216b8
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x421687
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x421672
mov eax, 0x4727b4
lea ecx, [esp + 0xb4]
push ecx
push eax
call fcn.00448770
add esp, 8
test eax, eax
jge 0x4216b8
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x421694
mov edi, 0x4727b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xb4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1b8]
push ecx
push edx
call ebp
test eax, eax
jne 0x4215e3
mov eax, dword [esp + 0x14]
push eax
call dword [0x472310]
mov ebp, dword [esp + 0x510]
test ebp, ebp
je 0x42198d
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42198d
mov ecx, 0x40
lea edi, [esp + 0x3fd]
mov byte [esp + 0x3fc], al
mov byte [esp + 0x2f8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2f9]
push 0
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x17]
stosw word es:[edi], ax
mov byte [esp + 0x4c], cl
lea ecx, [esp + 0x4c]
stosb byte es:[edi], al
call fcn.00404d20
mov edi, 0x49186c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x49186c
lea ecx, [esp + 0x50]
call fcn.004049b0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x50c], 5
mov byte [esp + 0x5c], dl
call fcn.00404d20
mov edi, 0x49186c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x49186c
lea ecx, [esp + 0x60]
call fcn.004049b0
lea eax, [esp + 0x90]
mov bl, 6
push eax
mov byte [esp + 0x50c], bl
call fcn.0043e850
lea ecx, [esp + 0x94]
push ecx
call fcn.0043e65e
lea edx, [esp + 0x1c]
sub eax, 0x3f480
push edx
mov dword [esp + 0x20], eax
call fcn.0043e4fe
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov esi, eax
mov eax, dword [esp + 0xa8]
inc ecx
push eax
add edx, 0x76c
push ecx
push edx
lea eax, [esp + 0x414]
push str._04d_02d_02d.rar
push eax
call fcn.0043d7ae
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
inc edx
push ecx
add eax, 0x76c
push edx
push eax
push str._04d_02d_02d.rar
lea ecx, [esp + 0x328]
push ecx
call fcn.0043d7ae
lea edx, [esp + 0x32c]
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0xb8]
push eax
push ecx
call fcn.00408280
add esp, 0x40
mov edx, dword [0x4727b8]
lea ecx, [esp + 0x48]
push edx
push 0
push eax
mov byte [esp + 0x514], 7
call fcn.004047b0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x50c], bl
call fcn.00404d20
lea eax, [esp + 0x3fc]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x84]
push ecx
push edx
call fcn.00408280
add esp, 0xc
mov ecx, dword [0x4727b8]
mov byte [esp + 0x508], 8
push ecx
push 0
push eax
lea ecx, [esp + 0x64]
call fcn.004047b0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x50c], bl
call fcn.00404d20
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x8c], esp
push 0
mov ecx, esi
mov byte [esi], dl
call fcn.00404d20
lea edi, [esp + 0xc4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xc4]
push ecx
push eax
mov ecx, esi
call fcn.004049b0
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x8c]
call fcn.00421c00
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x508], 9
test eax, eax
jne 0x421926
mov eax, 0x4727b4
mov ecx, dword [esp + 0x6c]
xor esi, esi
cmp ecx, esi
jne 0x421935
mov ecx, 0x4727b4
push eax
push ecx
call fcn.00448770
add esp, 8
test eax, eax
jge 0x4219e6
lea edx, [esp + 0xb4]
push edx
call dword [0x47232c]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x50c], bl
call fcn.00404d20
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x50c], 5
call fcn.00404d20
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x50c], 2
call fcn.00404d20
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50c], 1
call fcn.00404d20
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50c], 0
call fcn.00404d20
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50c], 0xffffffff
call fcn.00404d20
xor eax, eax
mov ecx, dword [esp + 0x500]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4fc
ret 8
mov eax, dword [esp + 0x5c]
mov ecx, 0x4727b4
cmp eax, esi
je 0x4219f5
mov ecx, eax
mov eax, dword [esp + 0x6c]
cmp eax, esi
jne 0x421a02
mov eax, 0x4727b4
push ecx
push eax
call fcn.00448770
add esp, 8
test eax, eax
jle 0x421abf
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x50c], bl
call fcn.00404d20
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x50c], 5
call fcn.00404d20
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x50c], 2
call fcn.00404d20
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50c], 1
call fcn.00404d20
mov ecx, dword [esp + 0x2c]
cmp ecx, esi
je 0x421a83
mov al, byte [ecx - 1]
test al, al
je 0x421a79
cmp al, 0xff
je 0x421a79
dec al
mov byte [ecx - 1], al
jmp 0x421a83
dec ecx
push ecx
call fcn.00460552
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
cmp ecx, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
je 0x4219c9
mov al, byte [ecx - 1]
test al, al
je 0x421ab0
cmp al, 0xff
je 0x421ab0
dec al
mov byte [ecx - 1], al
jmp 0x4219c9
dec ecx
push ecx
call fcn.00460552
add esp, 4
jmp 0x4219c9
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
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 + 0x6c]
xor esi, esi
cmp ecx, esi
je 0x421b09
mov al, byte [ecx - 1]
test al, al
je 0x421aff
cmp al, 0xff
je 0x421aff
dec al
mov byte [ecx - 1], al
jmp 0x421b09
dec ecx
push ecx
call fcn.00460552
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x6c], esi
cmp ecx, esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
je 0x421b39
mov al, byte [ecx - 1]
test al, al
je 0x421b2f
cmp al, 0xff
je 0x421b2f
dec al
mov byte [ecx - 1], al
jmp 0x421b39
dec ecx
push ecx
call fcn.00460552
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x5c], esi
cmp ecx, esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
je 0x421b69
mov al, byte [ecx - 1]
test al, al
je 0x421b5f
cmp al, 0xff
je 0x421b5f
dec al
mov byte [ecx - 1], al
jmp 0x421b69
dec ecx
push ecx
call fcn.00460552
add esp, 4
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x421b8d
mov al, byte [ecx - 1]
test al, al
je 0x421b83
cmp al, 0xff
je 0x421b83
dec al
mov byte [ecx - 1], al
jmp 0x421b8d
dec ecx
push ecx
call fcn.00460552
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], esi
cmp ecx, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
je 0x421bbd
mov al, byte [ecx - 1]
test al, al
je 0x421bb3
cmp al, 0xff
je 0x421bb3
dec al
mov byte [ecx - 1], al
jmp 0x421bbd
dec ecx
push ecx
call fcn.00460552
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
cmp ecx, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
je 0x421bf5
mov al, byte [ecx - 1]
test al, al
je 0x421beb
cmp al, 0xff
je 0x421beb
dec al
mov byte [ecx - 1], al
mov eax, 1
jmp 0x4219cb
dec ecx
push ecx
call fcn.00460552
add esp, 4
mov eax, 1
jmp 0x4219cb