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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x5328d0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x108], 0
push ebx
mov ebx, ecx
mov dword [ebp - 0x11c], edx
push esi
push edi
cmp dword [ebx + 0x1808], 3
je 0x472482
mov edx, 0xc000042a
call fcn.004dc331
test eax, eax
js 0x472b44
int3
mov ecx, dword [ebx + 0x18b8]
push 4
push 0x8c
call fcn.004460b0
mov esi, eax
test esi, esi
je 0x4724cf
push 7
pop ecx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push 0x58
push eax
mov byte [esi + 0x1c], al
lea eax, [esi + 0x20]
push eax
call fcn.0050fee0
add esp, 0xc
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov byte [esi + 0x88], al
mov eax, dword [ebp - 0x11c]
mov dword [eax], esi
test esi, esi
jne 0x47251b
mov esi, 0xc0000017
mov dword [ebp - 0x104], 0x41ff00
push esi
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x100], 0x420cfc
mov dword [ebp - 0xfc], 0xa8d
mov dword [ebp - 0xf8], 0x420d20
call fcn.004de872
mov eax, esi
jmp 0x472b44
mov ecx, ebx
call fcn.0046c72f
mov ecx, ebx
mov al, byte [eax + 0x3c]
mov byte [ebp - 0x11d], al
call fcn.0046c72f
mov ecx, dword [0x40b4d0]
lea edi, [ebp - 0x10]
push 5
pop esi
mov edx, dword [eax + 0x38]
xor eax, eax
stosd dword es:[edi], eax
push 6
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xac], esi
stosd dword es:[edi], eax
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xc8], ecx
stosw word es:[edi], ax
mov eax, dword [0x40b4d4]
pop edi
push 0xf
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xd4], edi
pop edi
push 0xb
pop esi
push 0x12
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x80], esi
pop esi
push 0x13
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
pop esi
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebx + 0x18c4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x18c8]
mov dword [ebp - 0x108], edx
mov dword [ebp - 0xe0], 0x41b948
mov dword [ebp - 0xd0], 7
mov dword [ebp - 0xcc], 0x41b950
mov dword [ebp - 0xc0], 0xe
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], 0x420c98
mov dword [ebp - 0xa8], 6
mov dword [ebp - 0xa4], 0x420d58
mov dword [ebp - 0x94], 0xc
mov dword [ebp - 0x90], 0x419c30
mov dword [ebp - 0x84], 0xa
mov dword [ebp - 0x7c], 0x420d60
mov dword [ebp - 0x70], 0xe
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 0x420d6c
mov dword [ebp - 0x5c], 0x11
mov dword [ebp - 0x54], 0x420d7c
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0x420d90
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x2c], 0x420da4
cmp ecx, eax
je 0x4726b0
sub eax, 8
cmp ecx, eax
jne 0x4726a3
mov dword [ebx + 0x18c8], eax
xor edi, edi
test edx, edx
mov dword [ebp - 0x124], edi
je 0x472a06
lea eax, [ebx + 0x904]
push edi
mov ecx, eax
call fcn.00485fd0
mov esi, eax
cmp byte [esi + 0x48], 0
jne 0x4729e4
cmp byte [esi + 0x49], 0
jne 0x4729e4
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0x114]
mov ecx, dword [esi + 0x14]
and dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov eax, dword [esi]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x100], ecx
push eax
mov dword [ebp - 0xfc], ecx
lea ecx, [ebp - 0x100]
push 0xa
call fcn.004dbdd2
test eax, eax
js 0x472b44
mov eax, dword [ebp - 0xf4]
mov ecx, ebx
cmp eax, 0xa
jae 0x4729c0
cmp byte [ebp + eax - 0x10], 0
jne 0x4729fc
sub esp, 0x10
mov byte [ebp + eax - 0x10], 1
add esi, 0x20
lea eax, [ebp - 0x1c]
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 0x472b44
mov eax, dword [ebp - 0xf4]
mov byte [ebp - 0x115], 0
cmp eax, 9
ja case.default.0x472797
jmp dword [eax*4 + 0x472b6a]
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x115]
push eax
lea edx, [ebp - 0x1c]
push dword [esi]
call fcn.004dbf0a
test eax, eax
js 0x472b44
jmp 0x4729af
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x115]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x10
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x472b44
mov eax, dword [esi]
mov byte [eax + 0x80], 1
jmp 0x4729af
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x115]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [esi]
add eax, 0x1c
push eax
call fcn.0046d52f
test eax, eax
js 0x472b44
mov eax, dword [esi]
mov byte [eax + 0x81], 1
jmp 0x4729af
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x115]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [esi]
add eax, 0x20
push eax
call fcn.004dbf0a
test eax, eax
js 0x472b44
mov eax, dword [esi]
mov byte [eax + 0x82], 1
jmp 0x4729af
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x115]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x30
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x472b44
mov eax, dword [esi]
mov byte [eax + 0x83], 1
jmp 0x4729af
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x115]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x3c
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x472b44
mov eax, dword [esi]
mov byte [eax + 0x84], 1
jmp 0x4729af
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x115]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x48
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x472b44
mov eax, dword [esi]
mov byte [eax + 0x85], 1
jmp 0x4729af
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x115]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x54
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x472b44
mov eax, dword [esi]
mov byte [eax + 0x86], 1
jmp 0x4729af
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x115]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x60
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x472b44
mov eax, dword [esi]
mov byte [eax + 0x87], 1
jmp 0x4729af
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x115]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x6c
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x18b8]
call fcn.004dc09c
test eax, eax
js 0x472b44
mov eax, dword [esi]
mov byte [eax + 0x88], 1
cmp byte [ebp - 0x115], 0
je case.default.0x472797
mov edi, dword [ebp - 0x124]
jmp 0x4729e4
test byte [ebx + 0x18c0], 2
je 0x4729fc
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.004dc108
test eax, eax
js 0x472b44
inc edi
cmp edi, dword [ebp - 0x108]
jmp 0x4726b4
mov edx, 0xc00000b9
mov ecx, ebx
jmp 0x47246f
mov edx, 0xc00000a4
jmp 0x47246f
cmp byte [ebp - 0x10], 0
mov ecx, ebx
jne 0x472a18
mov edx, 0xc0000225
jmp 0x47246f
call fcn.004dc350
test eax, eax
js 0x472b44
mov eax, dword [0x4106b0]
xor esi, esi
mov dword [ebp - 0x24], eax
mov eax, dword [0x4106b4]
mov dword [ebp - 0x20], eax
mov al, byte [ebp - 0x11d]
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x41b950
test al, al
jne 0x472b42
cmp dword [ebx + 0x1808], 3
jne 0x472b26
mov ecx, ebx
call fcn.0046c72f
and dword [ebp - 0x124], 0
lea edx, [ebp - 0x100]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10c], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x100], ecx
push eax
mov dword [ebp - 0xfc], ecx
lea ecx, [ebp - 0x114]
push 1
call fcn.004dbdd2
test eax, eax
js 0x472b44
mov eax, dword [ebp - 0x124]
cmp eax, 1
jae 0x472ae4
inc dword [ebp + eax*4 - 0xf4]
mov esi, dword [ebp - 0xf4]
mov ecx, ebx
test eax, eax
je 0x472afa
test byte [ebx + 0x18c0], 2
je 0x472b53
call fcn.004dc435
jmp 0x472b0f
cmp esi, 1
jne 0x472b5d
mov eax, dword [ebp - 0x11c]
mov edx, dword [eax]
add edx, 0x78
call fcn.004722d0
test eax, eax
js 0x472b44
cmp dword [ebx + 0x1808], 3
je 0x472a6d
mov al, byte [ebp - 0x11d]
test al, al
jne 0x472b42
cmp dword [ebx + 0x1808], 4
mov ecx, ebx
jne 0x47246a
call fcn.004dc350
test eax, eax
js 0x472b44
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050e82a
leave
ret
mov edx, 0xc0000024
jmp 0x47246f
mov edx, 0xc00000bd
jmp 0x47246f