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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1b4
add dword [eax], eax
add byte [ecx + 0x5328d0], ah
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x188], 0
push ebx
mov ebx, ecx
push esi
mov esi, edx
push edi
cmp dword [ebx + 0x1808], 3
mov dword [ebp - 0x1a8], esi
je 0x470469
mov edx, 0xc000042a
call fcn.004dc331
test eax, eax
js 0x470d52
int3
mov ecx, dword [ebx + 0x18b8]
push 8
push 0x88
call fcn.004460b0
mov edi, eax
test edi, edi
je 0x470488
mov ecx, edi
call fcn.0048662b
mov dword [esi], edi
test edi, edi
jne 0x4704bf
mov esi, 0xc0000017
mov dword [ebp - 0x14], 0x41ff00
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x420840
mov dword [ebp - 0xc], 0x727
mov dword [ebp - 8], 0x42086c
call fcn.004de872
mov eax, esi
jmp 0x470d52
mov ecx, ebx
call fcn.0046c72f
mov ecx, ebx
mov al, byte [eax + 0x3c]
mov byte [ebp - 0x1a2], al
call fcn.0046c72f
mov ecx, dword [0x40b4d0]
lea edi, [ebp - 0x14]
push 8
mov dword [ebp - 0x178], ecx
mov edx, dword [eax + 0x38]
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x170], 0xe
mov dword [ebp - 0x16c], 0xf
stosd dword es:[edi], eax
mov dword [ebp - 0x168], 0x419d08
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x15c], 0x13
stosd dword es:[edi], eax
mov dword [ebp - 0x158], 0x14
mov dword [ebp - 0x154], 0x4208ac
mov dword [ebp - 0x150], ecx
stosw word es:[edi], ax
mov eax, dword [0x40b4d4]
pop edi
push 0xb
mov dword [ebp - 0x134], edi
mov dword [ebp - 0xe0], edi
pop edi
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 0xc
mov dword [ebp - 0x144], 0xd
mov dword [ebp - 0x140], 0x41ba88
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x130], 9
mov dword [ebp - 0x12c], 0x4208c0
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], 5
mov dword [ebp - 0x11c], 6
mov dword [ebp - 0x118], 0x4208cc
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 4
mov dword [ebp - 0x108], 5
mov dword [ebp - 0x104], 0x4208d4
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], 4
mov dword [ebp - 0xf4], 5
mov dword [ebp - 0xf0], 0x419b80
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 7
mov dword [ebp - 0xdc], 0x4208dc
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], 0x1f
mov dword [ebp - 0xcc], 0x20
mov dword [ebp - 0xc8], 0x4208e4
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 0x17
mov dword [ebp - 0xb8], 0x18
mov dword [ebp - 0xb4], 0x420904
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], 0xc
mov dword [ebp - 0xa0], 0x419c30
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 0xa
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], 0x4204c8
mov dword [ebp - 0x88], ecx
push 8
mov dword [ebp - 0x84], eax
pop edi
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebx + 0x18c4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x18c8]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], 9
mov dword [ebp - 0x78], 0x42091c
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], 0x420928
cmp ecx, eax
je 0x470735
sub eax, edi
cmp ecx, eax
jne 0x470729
mov dword [ebx + 0x18c8], eax
xor eax, eax
test edx, edx
mov dword [ebp - 0x1b0], eax
je 0x470b4e
lea ecx, [ebx + 0x904]
push eax
call fcn.00485fd0
mov edi, eax
cmp byte [edi + 0x48], 0
jne 0x470b32
cmp byte [edi + 0x49], 0
jne 0x470b32
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0x194]
mov ecx, dword [edi + 0x14]
and dword [ebp - 0x1ac], 0
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], eax
mov eax, dword [edi]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x178]
mov dword [ebp - 0x20], ecx
push eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x20]
push 0xe
call fcn.004dbdd2
test eax, eax
js 0x470d52
mov eax, dword [ebp - 0x1ac]
mov ecx, ebx
cmp eax, 0xe
jae 0x470b11
cmp byte [ebp + eax - 0x14], 0
jne 0x470b44
lea esi, [edi + 0x20]
mov byte [ebp + eax - 0x14], 1
sub esp, 0x10
lea eax, [ebp - 0x184]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004dbfad
test eax, eax
js 0x470d52
mov eax, dword [ebp - 0x1ac]
mov byte [ebp - 0x1a1], 0
cmp eax, 0xd
ja case.default.0x470811
jmp dword [eax*4 + 0x470d63]
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
lea edx, [ebp - 0x184]
push dword [esi]
call fcn.0046d72a
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x74], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
lea edx, [ebp - 0x184]
mov eax, dword [esi]
add eax, 0x70
push eax
call fcn.0046ca05
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x75], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
lea edx, [ebp - 0x184]
mov eax, dword [esi]
inc eax
push eax
call fcn.0046d695
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x76], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 4
push eax
lea eax, [ebp - 0x184]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x77], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x10
push eax
lea eax, [ebp - 0x184]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x78], 1
jmp 0x470afc
mov eax, dword [ebp - 0x1a8]
lea esi, [ebp - 0x184]
lea edi, [ebp - 0x1a0]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x1a0]
mov eax, dword [eax]
add eax, 0x20
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00486341
mov esi, dword [ebp - 0x1a8]
mov byte [ebp - 0x1a1], al
mov eax, dword [esi]
mov byte [eax + 0x79], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
mov ecx, dword [ebx + 0x18b8]
lea edx, [ebp - 0x184]
push eax
mov eax, dword [esi]
add eax, 0x28
push eax
call fcn.00469b3b
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x7a], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
lea edx, [ebp - 0x184]
mov eax, dword [esi]
add eax, 0x34
push eax
call fcn.0046c92c
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x7b], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
lea edx, [ebp - 0x184]
mov eax, dword [esi]
add eax, 0x71
push eax
call fcn.004dbf39
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x7c], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x38
push eax
lea eax, [ebp - 0x184]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x7d], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x44
push eax
lea eax, [ebp - 0x184]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x7e], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x50
push eax
lea eax, [ebp - 0x184]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x7f], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
lea edx, [ebp - 0x184]
mov eax, dword [esi]
add eax, 0x72
push eax
call fcn.004dbf39
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x80], 1
jmp 0x470afc
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a1]
push eax
lea edx, [ebp - 0x184]
mov eax, dword [esi]
add eax, 0x73
push eax
call fcn.004dbf39
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov byte [eax + 0x81], 1
cmp byte [ebp - 0x1a1], 0
jne 0x470b32
mov edx, 0xc00000b9
mov ecx, ebx
jmp 0x470456
test byte [ebx + 0x18c0], 2
je 0x470b44
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004dc108
test eax, eax
js 0x470d52
mov eax, dword [ebp - 0x1b0]
inc eax
cmp eax, dword [ebp - 0x188]
jmp 0x470739
mov edx, 0xc00000a4
jmp 0x470456
mov ecx, ebx
call fcn.004dc350
test eax, eax
js 0x470d52
mov edx, dword [0x4106b0]
lea edi, [ebp - 0x20]
mov ecx, dword [0x4106b4]
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], 0x10
stosd dword es:[edi], eax
mov dword [ebp - 0x50], 0x11
mov dword [ebp - 0x4c], 0x419afc
mov dword [ebp - 0x40], 4
stosd dword es:[edi], eax
mov eax, dword [0x4106a8]
mov dword [ebp - 0x48], eax
mov eax, dword [0x4106ac]
mov dword [ebp - 0x44], eax
mov al, byte [ebp - 0x1a2]
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x38], 0x419b80
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], 0x420930
test al, al
jne 0x470cf1
mov eax, dword [esi]
lea edi, [eax + 0x60]
add eax, 0x68
mov dword [ebp - 0x1ac], eax
jmp 0x470cde
mov ecx, ebx
call fcn.0046c72f
and dword [ebp - 0x1b0], 0
lea edx, [ebp - 0x194]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x180], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x17c], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x194], ecx
push eax
mov dword [ebp - 0x190], ecx
lea ecx, [ebp - 0x184]
push 3
call fcn.004dbdd2
test eax, eax
js 0x470d52
mov eax, dword [ebp - 0x1b0]
cmp eax, 3
jae 0x470c5f
inc dword [ebp + eax*4 - 0x20]
mov ecx, ebx
sub eax, 0
je 0x470cca
sub eax, 1
je 0x470caf
sub eax, 1
je 0x470c84
test byte [ebx + 0x18c0], 2
je 0x470d20
call fcn.004dc435
jmp 0x470cda
mov edx, dword [ebp - 0x1ac]
call fcn.0047016b
test eax, eax
js 0x470d52
mov eax, dword [ebp - 0x1ac]
mov eax, dword [eax]
add eax, 0x18
mov dword [ebp - 0x1ac], eax
mov eax, dword [esi]
inc dword [eax + 0x6c]
jmp 0x470cde
mov edx, edi
call fcn.0046feb2
test eax, eax
js 0x470d52
mov eax, dword [esi]
mov edi, dword [edi]
add edi, 0xc
inc dword [eax + 0x64]
jmp 0x470cde
cmp dword [ebp - 0x20], 1
jne 0x470d2a
mov edx, dword [esi]
add edx, 0x5c
call fcn.0046d9a1
test eax, eax
js 0x470d52
cmp dword [ebx + 0x1808], 3
je 0x470bed
mov al, byte [ebp - 0x1a2]
cmp dword [ebp - 0x20], 0
jne 0x470d34
push 0xc0000016
mov edx, ebx
mov dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x11
mov dword [ebp - 0x18], 0x419afc
call fcn.004dc1b8
jmp 0x47045b
mov edx, 0xc0000024
jmp 0x470456
mov edx, 0xc00000bd
jmp 0x470456
test al, al
jne 0x470d50
cmp dword [ebx + 0x1808], 4
mov ecx, ebx
jne 0x470451
call fcn.004dc350
test eax, eax
js 0x470d52
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050e82a
leave
ret