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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478008
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp - 0x24]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0xa0]
movq qword [ebp - 0x1c], xmm0
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xa0], 0x20017
mov dword [ebp - 0x9c], 0x10005
mov dword [ebp - 0x98], 0x12c003c
mov dword [ebp - 0x94], 0x20006
mov dword [ebp - 0x90], 0xd003c
mov dword [ebp - 0x8c], 0x320009
mov dword [ebp - 0x88], 0x70002
mov dword [ebp - 0x84], 0x140007
mov dword [ebp - 0x80], 0x5a000b
mov dword [ebp - 0x7c], 0x1e0014
mov dword [ebp - 0x78], 0xa000f
mov dword [ebp - 0x74], 0x2440041
mov dword [ebp - 0x70], 0x1900014
mov dword [ebp - 0x6c], 0x320002
mov dword [ebp - 0x68], 0x17c00a0
mov dword [ebp - 0x64], 0x7000c
mov dword [ebp - 0x60], 0x2000a
mov dword [ebp - 0x5c], 0x30019
mov dword [ebp - 0x58], 0x10002
mov dword [ebp - 0x54], 0x30022
mov dword [ebp - 0x50], 0xf00032
mov dword [ebp - 0x4c], 0x430004
mov dword [ebp - 0x48], 0x5b0003
mov dword [ebp - 0x44], 0x1560028
mov dword [ebp - 0x40], 0x20118
mov dword [ebp - 0x3c], 0x500ee
mov dword [ebp - 0x38], 0x190012
mov dword [ebp - 0x34], 0x50008
mov dword [ebp - 0x30], 0x2140006
mov dword [ebp - 0x2c], 0x5780003
mov dword [ebp - 0x28], 0xe0064
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004038e0
mov dword [ebp - 4], 0
xor ebx, ebx
mov esi, dword [ebp - 0x1c]
nop dword [eax + eax]
xor ecx, ecx
cmp ebx, 0xf
ja case.default.0x4035fb
jmp dword [ebx*4 + 0x403828]
movzx eax, word [esi]
movzx ecx, word [esi + 2]
imul ecx, eax
sub cx, word [esi + 6]
add cx, word [esi + 8]
add cx, word [esi + 4]
jmp 0x40378c
movzx ecx, word [esi + 0xc]
xor edx, edx
movzx eax, word [esi + 0xa]
div ecx
movzx ecx, word [esi + 0xe]
movzx eax, ax
imul eax, ecx
sub ax, word [esi + 0x10]
movzx ecx, ax
jmp case.default.0x4035fb
movzx eax, word [esi + 0x12]
movzx ecx, word [esi + 0x14]
imul ecx, eax
sub cx, word [esi + 0x16]
add cx, word [esi + 0x18]
jmp 0x40378c
movzx eax, word [esi + 0x1a]
movzx ecx, word [esi + 0x1c]
imul ecx, eax
sub cx, word [esi + 0x20]
add cx, word [esi + 0x1e]
jmp 0x40378c
movzx ecx, word [esi + 0x24]
xor edx, edx
movzx eax, word [esi + 0x22]
div ecx
movzx ecx, word [esi + 0x26]
movzx eax, ax
imul eax, ecx
sub ax, word [esi + 0x28]
movzx ecx, ax
jmp case.default.0x4035fb
movzx eax, word [esi + 0x2a]
movzx ecx, word [esi + 0x2c]
imul ecx, eax
sub cx, word [esi + 0x30]
sub cx, word [esi + 0x2e]
jmp 0x40378c
movzx ecx, word [esi + 0x34]
xor edx, edx
movzx eax, word [esi + 0x32]
div ecx
sub ax, word [esi + 0x38]
add ax, word [esi + 0x36]
movzx ecx, ax
jmp case.default.0x4035fb
movzx ecx, word [esi + 0x3c]
xor edx, edx
movzx eax, word [esi + 0x3a]
div ecx
add ax, word [esi + 0x42]
add ax, word [esi + 0x40]
add ax, word [esi + 0x3e]
movzx ecx, ax
jmp case.default.0x4035fb
movzx ecx, word [esi + 0x44]
movzx eax, word [esi + 0x46]
imul eax, ecx
movzx ecx, word [esi + 0x48]
cdq
idiv ecx
sub ax, word [esi + 0x4a]
movzx ecx, ax
jmp case.default.0x4035fb
movzx eax, word [esi + 0x4c]
movzx ecx, word [esi + 0x4e]
imul ecx, eax
sub cx, word [esi + 0x50]
jmp 0x40378c
movzx ecx, word [esi + 0x54]
xor edx, edx
movzx eax, word [esi + 0x52]
div ecx
movzx ecx, ax
jmp case.default.0x4035fb
movzx eax, word [esi + 0x56]
movzx ecx, word [esi + 0x58]
imul ecx, eax
sub cx, word [esi + 0x5c]
sub cx, word [esi + 0x5a]
jmp 0x40378c
mov ax, word [esi + 0x62]
sub ax, word [esi + 0x60]
add ax, word [esi + 0x5e]
movzx ecx, ax
jmp case.default.0x4035fb
movzx ecx, word [esi + 0x66]
xor edx, edx
movzx eax, word [esi + 0x64]
div ecx
sub ax, word [esi + 0x68]
add ax, word [esi + 0x6a]
movzx ecx, ax
jmp case.default.0x4035fb
movzx eax, word [esi + 0x6c]
movzx ecx, word [esi + 0x6e]
imul ecx, eax
add cx, word [esi + 0x70]
jmp 0x40378c
movzx eax, word [esi + 0x72]
movzx ecx, word [esi + 0x74]
imul ecx, eax
sub cx, word [esi + 0x78]
sub cx, word [esi + 0x76]
add cx, word [esi + 0x7a]
movzx ecx, cx
mov edx, dword [edi + 0x10]
mov byte [ebp - 0x20], cl
cmp edx, dword [edi + 0x14]
jae 0x4037b4
cmp dword [edi + 0x14], 0x10
lea eax, [edx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x4037aa
mov eax, dword [edi]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x4037c6
push dword [ebp - 0x20]
mov byte [ebp - 0x24], 0
push dword [ebp - 0x24]
push ecx
mov ecx, edi
call fcn.00402930
inc ebx
cmp ebx, 0x10
jl 0x4035f0
test esi, esi
je 0x403800
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4037f6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403820
push ecx
push esi
call fcn.0045ed42
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ecfc
mov esp, ebp
pop ebp
ret 4
call fcn.00463aa9
nop dword [eax]
add dh, byte [esi]
inc eax
add byte [0x3f004036], bl
inc eax
add byte [edi + 0x36], dl
inc eax
add byte [edi + 0x36], ch
inc eax
add byte [ecx - 0x56ffbfca], dl
inc eax
add ch, al
inc eax
add ch, ah
inc eax
add byte [ebx], al
aaa
inc eax
add byte [edi + esi], dl
inc eax
add byte [0x3a004037], ah
aaa
inc eax
add byte [ebx + 0x37], cl
inc eax
add byte [edi + esi + 0x40], ah
add byte [ebp + 0x37], dh
inc eax
add ah, cl
int3