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

Disassembly:
push 0xffffffffffffffff
push 0x489e8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x5c]
call fcn.0047e2d0
mov edi, dword [esp + 0x70]
mov dword [esp + 0x24], eax
cmp edi, dword [ebp + 0x34]
jne 0x476275
lea ecx, [ebp + 0x84]
lea esi, [ebp + 0x88]
mov dword [esp + 0x18], ecx
jmp 0x476285
mov eax, dword [ebp + 0x90]
lea ecx, [eax + 4]
lea esi, [eax + 8]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], esi
mov dword [ecx], eax
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov edx, dword [edi]
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
mov ecx, edi
mov dword [esp + 0x20], eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
add eax, 5
cmp eax, 0x12
mov dword [esi], ecx
ja case.default.0x4762bb
jmp dword [eax*4 + 0x476c70]
mov eax, dword [edi + 8]
mov edx, dword [edi]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x78]
add eax, ecx
mov ecx, edi
push eax
call dword [edx + 0x38]
test al, al
mov byte [esp + 0x12], al
je 0x4762f6
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp]
lea eax, [esp + 0x12]
push 1
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x10]
jmp 0x476a63
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
sub edx, eax
add eax, ecx
lea esi, [ebp + 0xc8]
push edx
push eax
push edi
mov ecx, esi
call fcn.00472950
test eax, eax
je 0x476b5c
mov ecx, dword [ebp + 0xb8]
push 0
push eax
call fcn.0046b580
mov edx, dword [esi + 0x14]
mov ebx, eax
test ebx, ebx
mov dword [esi + 0x10], edx
jne 0x476362
mov eax, dword [ebp + 0xe0]
test eax, eax
jne 0x476b2b
mov eax, dword [ebp + 0xe4]
test eax, eax
jne 0x476b2b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
push eax
push ecx
jmp 0x476a5b
mov al, byte [ebx + 0x20]
test al, al
jne 0x476b32
mov eax, dword [ebx + 0x1c]
xor esi, esi
cmp eax, esi
jne 0x476b39
cmp dword [ebx + 8], esi
je 0x476432
lea ecx, [esp + 0x48]
call fcn.00473540
mov eax, dword [ebp + 0x94]
mov dword [esp + 0x64], esi
cmp eax, esi
jne 0x4763c2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x74]
push edx
push eax
push edi
mov ecx, ebp
call fcn.00476130
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00473580
jmp 0x476a63
mov byte [ebx + 0x20], 1
mov ecx, dword [ebp + 0x90]
lea edx, [esp + 0x48]
mov dword [esp + 0x54], ecx
mov dword [ebp + 0x90], edx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x24]
add ecx, eax
push esi
push ecx
push eax
mov eax, dword [ebp + 0x98]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.00476230
mov ecx, dword [esp + 0x54]
mov esi, eax
mov byte [ebx + 0x20], 0
mov dword [ebp + 0x90], ecx
test esi, esi
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x48]
jne 0x476b40
call fcn.00473580
jmp 0x476a63
mov ecx, ebp
mov byte [ebx + 0x20], 1
call fcn.00474f40
cmp eax, esi
mov byte [ebx + 0x20], 0
je 0x476b5c
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebp]
push ecx
mov ecx, dword [ebx + 0x10]
push ecx
mov ecx, dword [ebp + 0xe8]
push ecx
push eax
mov eax, dword [ebp + 0x30]
mov ecx, ebp
push eax
call dword [edx + 0x3c]
test eax, eax
je 0x476b49
mov ecx, dword [ebp + 0x130]
mov dword [ebp + 0x12c], ecx
jmp 0x476a63
mov ebx, dword [ebp + 0xfc]
test ebx, ebx
je 0x476493
mov edx, dword [ebx + 4]
mov dword [ebp + 0xfc], edx
jmp 0x4764d5
push 0x2c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x64], 1
je 0x4764b6
mov ecx, eax
call fcn.00472490
jmp 0x4764b8
xor eax, eax
test eax, eax
mov dword [esp + 0x64], 0xffffffff
mov ebx, eax
je 0x476b5c
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x476b50
xor esi, esi
mov dword [ebx + 0x28], esi
mov eax, dword [ebp + 0xf8]
mov dword [ebx + 4], eax
mov dword [ebp + 0xf8], ebx
mov dword [ebx + 0x18], esi
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x74]
lea eax, [ecx + edx]
mov ecx, edi
mov dword [ebx + 8], eax
mov edx, dword [edi]
push eax
call dword [edx + 0x28]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x7c]
cmp eax, esi
je 0x4765a1
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x24]
mov edx, dword [ebx + 0x20]
sub ecx, edx
lea edx, [eax + 1]
cmp edx, ecx
jle 0x476580
lea edi, [eax*4]
push edi
mov dword [esp + 0x30], edi
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x47656e
mov esi, dword [ebx + 0x20]
test esi, esi
je 0x47656e
mov ecx, dword [ebx + 0x24]
mov edi, eax
sub ecx, esi
mov eax, ecx
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 [ebx + 0x20]
push ecx
call fcn.0047e7f0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
add esp, 4
test eax, eax
mov dword [ebx + 0x20], eax
je 0x476b5c
mov edx, eax
add edx, edi
mov dword [ebx + 0x24], edx
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x20]
mov eax, ecx
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 [ebx + 0x20]
mov edi, dword [esp + 0x70]
mov dword [ebx + 8], ecx
inc dword [ebp + 0x98]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp + 0x28], eax
lea esi, [eax + ecx]
mov eax, dword [esp + 0x7c]
test eax, eax
mov eax, dword [ebx + 0x20]
je 0x4765c1
add eax, ecx
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x24]
mov edx, dword [edi]
dec eax
lea ecx, [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 0x30]
push esi
push eax
mov ecx, edi
call dword [edx + 0x44]
cmp dword [esp + 0x28], esi
je 0x476663
mov esi, dword [ebx + 0x24]
mov edx, dword [ebx + 0x20]
sub esi, edx
shl esi, 1
push esi
mov dword [esp + 0x34], esi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
je 0x47663a
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x47663a
mov ecx, dword [ebx + 0x24]
mov esi, edx
sub ecx, edx
mov edi, eax
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 [ebx + 0x20]
push eax
call fcn.0047e7f0
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
add esp, 4
test eax, eax
mov dword [ebx + 0x20], eax
je 0x476b5c
mov ecx, eax
mov eax, dword [esp + 0x7c]
add ecx, esi
test eax, eax
mov dword [ebx + 0x24], ecx
je 0x4765a7
mov edx, dword [ebx + 0x20]
mov dword [ebx + 8], edx
jmp 0x4765a7
mov eax, dword [esp + 0x1c]
lea ecx, [ebx + 0x10]
mov byte [eax], 0
mov edx, dword [esp + 0x74]
lea eax, [ebx + 0x28]
push eax
push ecx
push edx
push edi
mov ecx, ebp
call fcn.00476cc0
test eax, eax
jne 0x476b61
mov ecx, dword [ebp + 0x110]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push ecx
mov ecx, ebp
call dword [eax + 8]
lea ecx, [ebp + 0x11c]
call fcn.00472840
jmp 0x476a63
mov ebx, dword [edi + 8]
mov ecx, dword [esp + 0x74]
add ebx, ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], 0
call fcn.00472440
mov edx, dword [edi]
push ebx
mov ecx, edi
mov dword [esp + 0x68], 2
lea esi, [ebp + 0x11c]
call dword [edx + 0x28]
add eax, ebx
mov ecx, esi
push eax
push ebx
push edi
call fcn.00472950
test eax, eax
mov dword [esp + 0x3c], eax
je 0x476b76
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x38]
push ecx
push edx
push eax
push edi
mov ecx, ebp
call fcn.00476cc0
mov ebx, eax
test ebx, ebx
jne 0x476b89
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x14], ecx
mov eax, dword [ebp + 0x110]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
mov ecx, ebp
call dword [edx + 8]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0xc]
mov ecx, esi
call fcn.00472840
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4767a7
mov eax, dword [ebx + 4]
lea esi, [ebx + 4]
mov edx, dword [ebp]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x34]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x104]
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov dword [ebx + 8], eax
mov dword [ebp + 0x104], ebx
mov ecx, dword [esi]
mov edx, dword [ebx + 0xc]
mov dword [ecx + 8], edx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x476767
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], 0xffffffff
call fcn.00472480
mov eax, dword [ebp + 0x98]
test eax, eax
je 0x476b9e
jmp 0x476a63
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebp + 0x98]
cmp ecx, eax
je 0x476c63
mov ebx, dword [ebp + 0xf8]
mov edx, dword [ebp + 0xfc]
mov ecx, dword [ebx + 4]
mov dword [ebp + 0xf8], ecx
mov dword [ebx + 4], edx
mov ecx, dword [esp + 0x74]
mov dword [ebp + 0xfc], ebx
mov eax, dword [edi + 8]
mov edx, dword [edi]
lea esi, [ecx + eax*2]
mov ecx, edi
push esi
mov dword [esp + 0x34], esi
call dword [edx + 0x28]
cmp eax, dword [ebx + 0xc]
jne 0x476bba
mov ecx, eax
mov edi, esi
mov esi, dword [ebx + 8]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x476bb6
mov ecx, dword [ebp + 0x98]
dec ecx
mov dword [ebp + 0x98], ecx
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x476871
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x47685f
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov cl, byte [esi]
mov byte [eax], cl
inc eax
inc esi
test cl, cl
je 0x47685f
mov cl, byte [esi]
mov byte [eax], cl
inc eax
inc esi
test cl, cl
jne 0x476855
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0xc]
jmp 0x476887
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.00476130
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x4768c9
mov eax, dword [esi + 4]
mov edx, dword [ebp]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x34]
mov ecx, dword [ebx + 0x28]
mov edx, dword [ecx + 8]
mov dword [ebx + 0x28], edx
mov eax, dword [ebp + 0x104]
mov dword [esi + 8], eax
mov dword [ebp + 0x104], esi
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov dword [ecx + 8], edx
mov esi, dword [ebx + 0x28]
test esi, esi
jne 0x47688e
mov eax, dword [ebp + 0x98]
test eax, eax
je 0x476b9e
mov edi, dword [esp + 0x70]
jmp 0x476a63
mov ecx, dword [esp + 0x74]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
jl 0x476bc7
mov esi, dword [ebp]
lea edx, [esp + 0x34]
push edx
push eax
call fcn.004786e0
mov ecx, dword [ebp + 0xc]
add esp, 8
push eax
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, ebp
call dword [esi + 0x10]
jmp 0x476a63
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp]
lea eax, [esp + 0x13]
push 1
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x1f], 0xa
call dword [edx + 0x10]
jmp 0x476a63
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x14]
push ecx
push ebx
push edx
push edi
mov ecx, ebp
call fcn.00477380
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x476bd5
jmp 0x476a63
mov al, byte [edi + 0xc]
test al, al
jne 0x476a0f
mov eax, dword [ebp + 0x28]
mov edx, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
call dword [edx + 0x44]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
mov dword [esi], edx
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp]
sub ecx, eax
push ecx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, ebp
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x476a63
mov ebx, dword [esp + 0x18]
mov dword [ebx], eax
mov edx, dword [ebp + 0x28]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x2c]
mov eax, dword [edi]
push edx
lea edx, [esp + 0x20]
push edx
push ecx
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
call dword [eax + 0x44]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
mov dword [esi], edx
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp]
sub ecx, eax
push ecx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, ebp
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jne 0x4769c2
jmp 0x476a63
mov eax, dword [esp + 0x74]
mov edx, dword [ebp]
sub ecx, eax
push ecx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, ebp
push eax
call dword [edx + 0x10]
jmp 0x476a63
push ecx
mov ecx, dword [esp + 0x78]
push ecx
push edi
mov ecx, ebp
call fcn.00476020
test eax, eax
je 0x476b5c
jmp 0x476a63
mov edx, dword [esp + 0x74]
push ecx
push edx
push edi
mov ecx, ebp
call fcn.004760d0
test eax, eax
je 0x476b5c
jmp 0x476a63
mov eax, dword [esp + 0x74]
push ecx
push eax
push edi
mov ecx, ebp
call fcn.00476130
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov dword [ecx], eax
jmp 0x47628f
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x476a8f
mov edx, dword [esp + 0x74]
mov dword [eax], edx
xor eax, eax
jmp 0x476b61
mov dword [esi], ebx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp]
lea ecx, [esp + 0x7c]
push 1
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x88], 0xa
call dword [eax + 0x10]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x476adb
mov eax, 3
jmp 0x476b61
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x476ad3
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
xor eax, eax
jmp 0x476b61
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jle 0x476ab4
mov eax, dword [ebp + 0x98]
sub eax, ecx
neg eax
sbb eax, eax
and eax, 0xd
jmp 0x476b61
mov edx, dword [esp + 0x18]
mov eax, 4
mov dword [edx], ecx
jmp 0x476b61
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x476b0b
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
xor eax, eax
jmp 0x476b61
mov eax, 5
jmp 0x476b61
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x476b24
mov edx, dword [esp + 0x74]
mov dword [eax], edx
xor eax, eax
jmp 0x476b61
mov eax, 6
jmp 0x476b61
mov eax, 0xb
jmp 0x476b61
mov eax, 0xc
jmp 0x476b61
mov eax, 0xf
jmp 0x476b61
call fcn.00473580
mov eax, esi
jmp 0x476b61
mov eax, 0x15
jmp 0x476b61
test eax, eax
je 0x476b5c
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, 1
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0x14
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], 0xffffffff
call fcn.00472480
jmp 0x476b5c
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], 0xffffffff
call fcn.00472480
mov eax, ebx
jmp 0x476b61
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00474bf0
jmp 0x476b61
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov dword [eax], esi
mov eax, 7
jmp 0x476b61
mov eax, 0xe
jmp 0x476b61
mov eax, 0x11
jmp 0x476b61
mov dword [ebp + 0x7c], 0x474d60
jmp 0x476b61
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x476bf3
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
xor eax, eax
jmp 0x476b61
mov al, byte [edi + 0xc]
test al, al
jne 0x476c23
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [edi]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x7c]
push ecx
push edx
lea ecx, [esp + 0x7c]
push ebx
push ecx
mov ecx, edi
call dword [eax + 0x44]
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp]
mov ecx, dword [esp + 0x7c]
jmp 0x476c2c
mov edx, dword [ebp]
mov eax, dword [esp + 0x74]
mov ecx, ebx
sub ecx, eax
push ecx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, ebp
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x476c51
mov ecx, dword [esp + 0x18]
mov eax, 3
mov dword [ecx], ebx
jmp 0x476b61
cmp dword [ebp + 0x98], eax
je 0x476a88
mov edx, dword [esp + 0x18]
mov dword [edx], ebx
mov eax, 0xd
jmp 0x476b61