Function at 0x410073
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push 0x41489c
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x410093
or eax, 0xffffffff
jmp 0x410715
push 0x4150e8
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x41008b
push 0x4150dc
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41008b
push 0x4150d0
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x41008b
push 0x4150c4
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41008b
push 0x4150b4
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41008b
push 0x414ff4
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x41008b
push 0x414d08
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
test eax, eax
je 0x41008b
push 0x41509c
push eax
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41008b
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x14], 0
push ebx
push edi
push esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], eax
call fcn.00409499
pop ecx
push 0x46
cdq
pop ecx
idiv ecx
push esi
mov ebx, eax
call fcn.00409499
test ebx, ebx
jne 0x410188
inc eax
push eax
call fcn.00409380
mov edi, eax
push esi
mov dword [ebp - 0xc], edi
call fcn.00409499
inc eax
push eax
push ebx
push edi
call fcn.004093bd
push esi
call fcn.00409499
push eax
push esi
push edi
call fcn.00409398
add esp, 0x28
jmp 0x410280
pop ecx
push 0x46
cdq
pop ecx
idiv ecx
push esi
test edx, edx
jne 0x410204
lea edi, [ebx + ebx - 1]
call fcn.00409499
add eax, edi
push eax
call fcn.00409380
push esi
mov dword [ebp - 0xc], eax
call fcn.00409499
add eax, edi
mov edi, dword [ebp - 0xc]
push eax
push 0
push edi
call fcn.004093bd
and dword [ebp - 0xc], 0
add esp, 0x18
mov dword [ebp - 0x18], edi
test ebx, ebx
jle 0x410278
push 0x46
push esi
push edi
call fcn.00409398
lea eax, [ebx - 1]
add esp, 0xc
add esi, 0x46
add edi, 0x46
cmp dword [ebp - 0xc], eax
jge 0x4101fa
push 2
push 0x415098
push edi
call fcn.00409398
add esp, 0xc
inc edi
inc edi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jl 0x4101ce
jmp 0x410278
call fcn.00409499
lea eax, [eax + ebx*2 + 1]
push eax
call fcn.00409380
push esi
mov edi, eax
call fcn.00409499
lea eax, [eax + ebx*2 + 1]
push eax
push 0
push edi
call fcn.004093bd
and dword [ebp - 0xc], 0
add esp, 0x18
mov dword [ebp - 0x18], edi
test ebx, ebx
jle 0x410267
push 0x46
push esi
push edi
call fcn.00409398
add esp, 0xc
add esi, 0x46
add edi, 0x46
cmp dword [ebp - 0xc], ebx
jge 0x41025f
push 2
push 0x415098
push edi
call fcn.00409398
add esp, 0xc
inc edi
inc edi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jl 0x410236
push esi
call fcn.00409499
push eax
push esi
push edi
call fcn.00409398
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov edi, eax
mov dword [ebp - 0xc], eax
push dword [ebp + 0x10]
call fcn.00409499
mov esi, eax
push edi
add esi, esi
call fcn.00409499
cmp dword [ebp + 0x18], 0
pop ecx
pop ecx
lea esi, [esi + eax*2]
jne 0x4102a4
push 0x415090
jmp 0x4102b8
push 0x415088
call fcn.00409499
lea esi, [esi + eax*2]
mov dword [esp], 0x415080
call fcn.00409499
lea eax, [esi + eax*2]
add eax, 0x16
cmp dword [ebp + 0x18], 0
pop ecx
jne 0x4102d1
mov dword [ebp - 0x14], 2
cmp dword [ebp + 0x18], 5
jne 0x4102de
mov dword [ebp - 0x14], 3
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
imul ecx, ecx, 0x18
lea eax, [ecx + eax + 3]
and eax, 0xfffffffc
imul eax, ebx
push eax
push 0x40
call dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x410305
or eax, 0xffffffff
jmp 0x410713
push eax
call dword [ebp - 0x20]
mov esi, eax
mov eax, 0xc8
mov word [esi + 0xa], ax
add eax, 0xffffffce
push edi
mov dword [esi], 0x80c80080
mov word [esi + 8], bx
mov word [esi + 0xc], ax
call fcn.00409499
add eax, 5
imul eax, eax, 3
cmp ax, 0x64
pop ecx
push 0x32
pop ecx
mov word [esi + 0xe], ax
mov word [esi + 0x10], cx
jge 0x41034a
push 0x64
pop eax
mov word [esi + 0xe], ax
movzx eax, word [esi + 0xe]
mov ecx, 0x12c
mov edx, ecx
cmp ax, dx
jle 0x410377
cwde
cdq
mov ebx, ecx
idiv ebx
imul eax, eax, 0x14
test edx, edx
jne 0x41036c
add eax, 0x1e
jmp 0x41036f
add eax, 0x32
mov word [esi + 0x10], ax
mov word [esi + 0xe], cx
xor ecx, ecx
lea eax, [esi + 0x12]
mov word [eax], cx
inc eax
inc eax
mov word [eax], cx
lea ebx, [eax + 2]
jmp 0x4103d7
cmp al, 0xb0
jb 0x4103cc
cmp al, 0xf7
ja 0x4103cc
mov cl, byte [edx + 1]
cmp cl, 0xa1
jb 0x4103cc
cmp cl, 0xfe
ja 0x4103cc
mov byte [ebp - 8], al
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov byte [ebp - 7], cl
call fcn.0040fee2
mov ax, word [ebp - 4]
mov word [ebx], ax
mov eax, dword [ebp + 0x10]
add eax, 2
cmp byte [eax], 0
pop ecx
pop ecx
mov dword [ebp + 0x10], eax
je 0x4103d7
inc ebx
inc ebx
jmp 0x4103d7
cbw
mov word [ebx], ax
inc ebx
inc ebx
inc edx
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0x10]
mov al, byte [edx]
test al, al
jne 0x410389
push dword [ebp - 0x10]
call fcn.00409499
and eax, 0x80000003
pop ecx
jns 0x4103f5
dec eax
or eax, 0xfffffffc
inc eax
je 0x4103f9
inc ebx
inc ebx
push dword [ebp - 0x10]
call fcn.00409499
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
cmp byte [ecx + eax - 2], 0xb0
jb 0x41044d
push eax
call fcn.00409499
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
cmp byte [ecx + eax - 2], 0xf7
ja 0x41044d
push eax
call fcn.00409499
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
cmp byte [ecx + eax - 1], 0xa1
jb 0x41044d
push eax
call fcn.00409499
pop ecx
mov ecx, dword [ebp - 0x10]
cmp byte [eax + ecx - 1], 0xfe
ja 0x41044d
lea eax, [ebx + 5]
and eax, 0xfffffffe
jmp 0x41045a
lea eax, [ebx + 1]
and eax, 0xfffffffe
xor ecx, ecx
mov word [eax], cx
inc eax
inc eax
cmp dword [ebp - 0x14], 2
mov ebx, 0xffff
jne 0x4104e1
lea ecx, [eax + 1]
movsx eax, word [esi + 0xe]
sub eax, 0x28
cdq
sub eax, edx
sar eax, 1
and ecx, 0xfffffffe
mov word [ecx + 8], ax
mov ax, word [esi + 0x10]
sub ax, 0x14
mov word [ecx + 0xa], ax
push 0x28
pop eax
mov word [ecx + 0xc], ax
push 0xc
pop eax
mov word [ecx + 0xe], ax
xor eax, eax
inc eax
mov word [ecx + 0x10], ax
lea edi, [ecx + 0x12]
mov dword [ecx], 0x50000001
mov eax, ebx
mov word [edi], ax
inc edi
inc edi
mov eax, 0x80
mov word [edi], ax
lea eax, [ebp - 4]
push 0x41507c
inc edi
push eax
inc edi
call fcn.0040fee2
mov ax, word [ebp - 4]
mov word [edi], ax
lea eax, [ebp - 4]
push 0x415078
push eax
call fcn.0040fee2
add esp, 0x10
jmp 0x4105e9
cmp dword [ebp - 0x14], 3
jne 0x410601
lea ecx, [eax + 1]
movsx eax, word [esi + 0xe]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x2d
and ecx, 0xfffffffe
mov word [ecx + 8], ax
mov ax, word [esi + 0x10]
sub ax, 0x14
mov word [ecx + 0xa], ax
push 0x28
pop eax
mov word [ecx + 0xc], ax
push 0xc
pop eax
mov word [ecx + 0xe], ax
push 4
pop eax
mov word [ecx + 0x10], ax
lea edi, [ecx + 0x12]
mov dword [ecx], 0x50000001
mov eax, ebx
mov word [edi], ax
inc edi
inc edi
mov eax, 0x80
mov word [edi], ax
lea eax, [ebp - 4]
push 0x415074
inc edi
push eax
inc edi
call fcn.0040fee2
mov ax, word [ebp - 4]
mov word [edi], ax
lea eax, [ebp - 4]
push 0x415070
push eax
call fcn.0040fee2
mov ax, word [ebp - 4]
mov word [edi + 2], ax
lea eax, [edi + 9]
and eax, 0xfffffffe
xor ecx, ecx
mov word [eax], cx
lea ecx, [eax + 3]
movsx eax, word [esi + 0xe]
cdq
sub eax, edx
sar eax, 1
add eax, 5
and ecx, 0xfffffffe
mov word [ecx + 8], ax
mov ax, word [esi + 0x10]
sub ax, 0x14
mov word [ecx + 0xa], ax
push 0x28
pop eax
mov word [ecx + 0xc], ax
push 0xc
pop eax
mov word [ecx + 0xe], ax
push 2
pop eax
mov word [ecx + 0x10], ax
lea edi, [ecx + 0x12]
mov dword [ecx], 0x50000001
mov eax, ebx
mov word [edi], ax
inc edi
inc edi
mov eax, 0x80
mov word [edi], ax
lea eax, [ebp - 4]
inc edi
push 0x41506c
push eax
inc edi
call fcn.0040fee2
mov ax, word [ebp - 4]
mov word [edi], ax
lea eax, [ebp - 4]
push 0x415068
push eax
call fcn.0040fee2
add esp, 0x20
mov ax, word [ebp - 4]
mov word [edi + 2], ax
lea eax, [edi + 9]
mov edi, dword [ebp - 0xc]
and eax, 0xfffffffe
xor ecx, ecx
mov word [eax], cx
inc eax
inc eax
inc eax
and eax, 0xfffffffe
push 0xa
pop ecx
mov word [eax + 8], cx
mov word [eax + 0xa], cx
mov cx, word [esi + 0xe]
sub cx, 0x14
mov word [eax + 0xc], cx
mov cx, word [esi + 0x10]
sub cx, 0x1e
mov word [eax + 0xe], cx
mov dword [eax], 0x50000001
mov ecx, 0xc8
mov word [eax + 0x10], cx
add eax, 0x12
mov word [eax], bx
inc eax
inc eax
add ecx, 0xffffffba
mov word [eax], cx
lea esi, [eax + 2]
jmp 0x41068c
cmp al, 0xb0
jb 0x410684
cmp al, 0xf7
ja 0x410684
mov cl, byte [edi + 1]
cmp cl, 0xa1
jb 0x410684
cmp cl, 0xfe
ja 0x410684
mov byte [ebp - 8], al
mov al, byte [edi + 1]
mov byte [ebp - 7], al
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040fee2
mov ax, word [ebp - 4]
mov word [esi], ax
inc esi
inc esi
pop ecx
inc edi
pop ecx
inc edi
jmp 0x41068c
cbw
mov word [esi], ax
inc esi
inc esi
inc edi
mov al, byte [edi]
test al, al
jne 0x41064a
mov edi, dword [ebp - 0x24]
push edi
call fcn.00409499
and eax, 0x80000003
pop ecx
jns 0x4106a8
dec eax
or eax, 0xfffffffc
inc eax
je 0x4106ac
inc esi
inc esi
push edi
call fcn.00409499
cmp byte [eax + edi - 2], 0xb0
pop ecx
jb 0x4106e4
push edi
call fcn.00409499
cmp byte [eax + edi - 2], 0xf7
pop ecx
ja 0x4106e4
push edi
call fcn.00409499
cmp byte [eax + edi - 1], 0xa1
pop ecx
jb 0x4106e4
push edi
call fcn.00409499
cmp byte [eax + edi - 1], 0xfe
pop ecx
jbe 0x4106ed
inc esi
and esi, 0xfffffffe
xor eax, eax
mov word [esi], ax
push dword [ebp - 0x18]
call dword [ebp - 0x28]
push 0
push 0x40ff1d
push dword [ebp + 0xc]
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [ebp - 0x2c]
mov esi, eax
call dword [ebp - 0x30]
push dword [ebp - 0x18]
call dword [ebp - 0x34]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret