Function at 0x401000
Capabilities:
Allocate thread local storage

Disassembly:
push 0xac
push 0
push 0x41344c
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleW
mov dword [0x413450], eax
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x41344c], eax
call fcn.0040329d
call fcn.0040ecd0
call fcn.0040e480
call fcn.0040dea3
call fcn.0040d8a0
call fcn.0040d6c1
call fcn.0040d627
call fcn.0040ce90
call fcn.0040afcc
call fcn.0040a870
call fcn.00409d7d
call fcn.004090bf
call fcn.00409006
call fcn.00408be8
call fcn.004078f6
call fcn.0040510a
call fcn.00404486
call fcn.00403d1c
call fcn.00403b1a
call fcn.00403895
mov eax, str.tombati.exe
push eax
call fcn.0040d6cd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0xffffffff
jne 0x4010bc
cmp edi, 0xffffffff
je 0x4010c0
xor eax, eax
jmp 0x4010c5
mov eax, 1
or eax, eax
je 0x4010f6
mov eax, str.Tombub.exe
push eax
call fcn.0040d6cd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0xffffffff
jne 0x4010e2
cmp edi, 0xffffffff
je 0x4010e6
xor eax, eax
jmp 0x4010eb
mov eax, 1
or eax, eax
je 0x4010f6
mov eax, 1
jmp 0x4010f8
xor eax, eax
and eax, eax
je 0x401117
push 0x10
mov eax, str.Copy_this_file_to_TombATI_game_folder_
push eax
mov eax, str.Error__
push eax
call fcn.00403b53
jmp 0x402138
mov eax, str.glrage.ini
push eax
call fcn.0040d6cd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0xffffffff
jne 0x401130
cmp edi, 0xffffffff
je 0x401134
xor eax, eax
jmp 0x401139
mov eax, 1
or eax, eax
jne 0x401165
mov eax, str.Patches_tombati.ini
push eax
call fcn.0040d6cd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0xffffffff
jne 0x401156
cmp edi, 0xffffffff
je 0x40115a
xor eax, eax
jmp 0x40115f
mov eax, 1
or eax, eax
jne 0x401165
jmp 0x40116c
mov eax, 1
jmp 0x40116e
xor eax, eax
and eax, eax
je 0x40118d
push 0x10
mov eax, str.File_glrage.ini_or_Patches_tombati.ini_not_found_
push eax
mov eax, str.Error__
push eax
call fcn.00403b53
jmp 0x402138
push 0x218
push 0x188
push 0
push 0
call fcn.004021ad
push dword [0x413b44]
push dword [0x413b44]
call fcn.00403eb0
add dword [0x413b44], 2
mov edx, 0x41121a
pop ecx
mov dword [0x413b44], ecx
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x401340
mov eax, str.TombATI
push eax
push dword [0x4134d4]
call fcn.00407961
mov eax, 0x4110fe
push eax
push dword [0x4134b8]
call fcn.004051b0
mov eax, 0x411400
push eax
push dword [0x4134a8]
call fcn.004051b0
mov eax, 0x411d3e
push eax
push dword [0x413458]
call fcn.004051b0
mov eax, 0x411902
push eax
push dword [0x4134c8]
call fcn.004051b0
mov eax, 0x411a18
push eax
push dword [0x41348c]
call fcn.004051b0
mov eax, 0x411a78
push eax
push dword [0x4134d8]
call fcn.004051b0
mov eax, 0x411b62
push eax
push dword [0x413494]
call fcn.004051b0
mov eax, 0x411e84
push eax
push dword [0x41345c]
call fcn.004051b0
mov eax, 0x411086
push eax
push dword [0x4134ac]
call fcn.004051b0
mov eax, 0x411028
push eax
push dword [0x4134b4]
call fcn.004051b0
mov eax, 0x411356
push eax
push dword [0x4134dc]
call fcn.004051fb
mov eax, 0x411028
push eax
push dword [0x413464]
call fcn.004051b0
mov eax, 0x4115b2
push eax
push dword [0x4134e0]
call fcn.004051fb
mov eax, 0x41113e
push eax
push dword [0x413490]
call fcn.004051b0
mov eax, 0x4117f4
push eax
push dword [0x4134f0]
call fcn.004051b0
mov eax, 0x411228
push eax
push dword [0x413468]
call fcn.004051b0
mov eax, 0x411aae
push eax
push dword [0x4134bc]
call fcn.004051b0
mov eax, 0x411ba6
push eax
push dword [0x413470]
call fcn.004051b0
mov eax, 0x411a5a
push eax
push dword [0x4134b0]
call fcn.004051b0
mov eax, 0x411a46
push eax
push dword [0x4134c0]
call fcn.004051b0
call fcn.004032b9
call fcn.004033f7
and eax, eax
je 0x4013b0
push dword [0x413b44]
push dword [0x413b44]
call fcn.0040344d
cdq
push edx
push eax
call fcn.0040d140
mov edx, 0x4110fa
push edx
call fcn.0040ed50
push dword [0x413b44]
push dword [0x413b44]
call fcn.00403431
cdq
push edx
push eax
call fcn.0040d140
pop eax
lea eax, [0x4134f4]
push eax
call fcn.0040edb0
push dword [0x4134f4]
push 0xffffffff
push dword [0x413488]
call fcn.004053a8
jmp 0x401345
mov dword [0x41347c], 0
jmp 0x4013bc
push dword [0x413488]
call fcn.00405409
mov ebx, eax
dec ebx
cmp ebx, dword [0x41347c]
jl 0x401484
push dword [0x413b44]
push dword [0x413b44]
push dword [0x41347c]
push dword [0x413488]
call fcn.0040546c
lea eax, [0x4134e8]
push eax
call fcn.0040edb0
mov ebx, dword [0x41347c]
inc ebx
mov dword [0x413478], ebx
jmp 0x40140e
push dword [0x413488]
call fcn.00405409
cmp eax, dword [0x413478]
jl 0x401478
push dword [0x413b44]
push dword [0x413b44]
push dword [0x413478]
push dword [0x413488]
call fcn.0040546c
add dword [0x413b44], 2
mov edx, dword [0x4134e8]
pop ecx
mov dword [0x413b44], ecx
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x401470
push dword [0x413478]
push dword [0x413488]
call fcn.00405482
inc dword [0x413478]
jno 0x40140e
inc dword [0x41347c]
jno 0x4013bc
mov eax, str.Auto
push eax
push 0
push dword [0x413488]
call fcn.004053a8
mov eax, str.glrage.ini
push eax
call fcn.00404883
mov eax, str.Context
push eax
call fcn.004048c1
push dword [0x413b44]
push dword [0x413b44]
mov eax, 0x411028
push eax
mov eax, str.vsync
push eax
call fcn.004049b5
add dword [0x413b44], 2
mov edx, str.true
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x4014fb
push 1
push dword [0x4134d8]
call fcn.004054ba
jmp 0x401520
mov edx, str.false
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x401520
push 0
push dword [0x4134d8]
call fcn.004054ba
pop dword [0x413b44]
push 0
mov eax, str.fullscreen_mode
push eax
call fcn.00404aa9
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x401550
push 0
push dword [0x413474]
call fcn.004054ba
jmp 0x401586
mov ebx, 1
cmp ebx, dword [esp]
jne 0x40156c
push 1
push dword [0x413474]
call fcn.004054ba
jmp 0x401586
mov ebx, 2
cmp ebx, dword [esp]
jne 0x401586
push 2
push dword [0x413474]
call fcn.004054ba
pop eax
mov eax, str.ATI3DCIF
push eax
call fcn.004048c1
push dword [0x413b44]
push dword [0x413b44]
mov eax, 0x411028
push eax
mov eax, str.wireframe
push eax
call fcn.004049b5
add dword [0x413b44], 2
mov edx, str.true
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x4015dd
push 1
push dword [0x413494]
call fcn.004054ba
jmp 0x401602
mov edx, str.false
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x401602
push 0
push dword [0x413494]
call fcn.004054ba
pop dword [0x413b44]
push 0
mov eax, str.filter_anisotropy
push eax
call fcn.00404aa9
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x401632
push 0
push dword [0x4134e4]
call fcn.004054ba
jmp 0x4016a0
mov ebx, 2
cmp ebx, dword [esp]
jne 0x40164e
push 1
push dword [0x4134e4]
call fcn.004054ba
jmp 0x4016a0
mov ebx, 4
cmp ebx, dword [esp]
jne 0x40166a
push 2
push dword [0x4134e4]
call fcn.004054ba
jmp 0x4016a0
mov ebx, 8
cmp ebx, dword [esp]
jne 0x401686
push 3
push dword [0x4134e4]
call fcn.004054ba
jmp 0x4016a0
mov ebx, 0x10
cmp ebx, dword [esp]
jne 0x4016a0
push 4
push dword [0x4134e4]
call fcn.004054ba
pop eax
mov eax, str.DirectDraw
push eax
call fcn.004048c1
push dword [0x413b44]
push dword [0x413b44]
mov eax, 0x411028
push eax
mov eax, str.filter_method
push eax
call fcn.004049b5
add dword [0x413b44], 2
mov edx, str.linear
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x4016f7
push 0
push dword [0x413480]
call fcn.004054ba
jmp 0x40171c
mov edx, str.nearest
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x40171c
push 1
push dword [0x413480]
call fcn.004054ba
pop dword [0x413b44]
call fcn.00404ade
push 0
push dword [0x413488]
call fcn.004054ba
mov eax, str.Patches_tombati.ini
push eax
call fcn.00404883
mov eax, str.Patch
push eax
call fcn.004048c1
push dword [0x413b44]
push dword [0x413b44]
mov eax, 0x41105a
push eax
mov eax, str.resolution_width
push eax
call fcn.004049b5
mov edx, 0x4110fa
push edx
call fcn.0040ed50
push dword [0x413b44]
push dword [0x413b44]
mov eax, 0x41105a
push eax
mov eax, str.resolution_height
push eax
call fcn.004049b5
pop eax
lea eax, [0x413454]
push eax
call fcn.0040edb0
push dword [0x413454]
push dword [0x413488]
call fcn.004051b0
push dword [0x413b44]
push dword [0x413b44]
mov eax, 0x411028
push eax
mov eax, str.lostvalley_ambience
push eax
call fcn.004049b5
add dword [0x413b44], 2
mov edx, str.true
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x4017fb
push 1
push dword [0x4134bc]
call fcn.004054ba
jmp 0x401820
mov edx, str.false
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x401820
push 0
push dword [0x4134bc]
call fcn.004054ba
pop dword [0x413b44]
push dword [0x413b44]
push dword [0x413b44]
mov eax, 0x411028
push eax
mov eax, str.music_mute_underwater
push eax
call fcn.004049b5
add dword [0x413b44], 2
mov edx, str.true
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x401871
push 1
push dword [0x413468]
call fcn.004054ba
jmp 0x401896
mov edx, str.false
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x401896
push 0
push dword [0x413468]
call fcn.004054ba
pop dword [0x413b44]
push dword [0x413b44]
push dword [0x413b44]
mov eax, 0x411028
push eax
mov eax, str.music_mute_menu
push eax
call fcn.004049b5
add dword [0x413b44], 2
mov edx, str.true
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x4018e7
push 1
push dword [0x4134f0]
call fcn.004054ba
jmp 0x40190c
mov edx, str.false
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x40190c
push 0
push dword [0x4134f0]
call fcn.004054ba
pop dword [0x413b44]
push dword [0x413b44]
push dword [0x413b44]
mov eax, 0x411028
push eax
mov eax, str.full_soundtrack
push eax
call fcn.004049b5
add dword [0x413b44], 2
mov edx, str.true
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x40195d
push 1
push dword [0x413470]
call fcn.004054ba
jmp 0x401982
mov edx, str.false
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x401982
push 0
push dword [0x413470]
call fcn.004054ba
pop dword [0x413b44]
push dword [0x413b44]
push dword [0x413b44]
mov eax, 0x411028
push eax
mov eax, str.draw_distance_override
push eax
call fcn.004049b5
add dword [0x413b44], 2
mov edx, str.true
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x4019f3
push 1
push dword [0x4134ac]
call fcn.004054ba
push 0
push dword [0x4134dc]
call fcn.004054f2
push 0
push dword [0x4134e0]
call fcn.004054f2
jmp 0x401a38
mov edx, str.false
mov ecx, dword [esp]
add ecx, dword [0x411ee4]
call fcn.00403030
je 0x401a38
push 0
push dword [0x4134ac]
call fcn.004054ba
push 1
push dword [0x4134dc]
call fcn.004054f2
push 1
push dword [0x4134e0]
call fcn.004054f2
pop dword [0x413b44]
push dword [0x413b44]
push dword [0x413b44]
push dword [0x413b44]
push 0
mov eax, str.draw_distance_fade
push eax
call fcn.00404aa9
cdq
push edx
push eax
call fcn.0040d140
add dword [0x413b44], 2
push dword [0x4134dc]
mov edx, dword [0x411ee4]
add dword [esp + 4], edx
call fcn.004051b0
pop dword [0x413b44]
push dword [0x413b44]
push dword [0x413b44]
push dword [0x413b44]
push 0
mov eax, str.draw_distance_max
push eax
call fcn.00404aa9
cdq
push edx
push eax
call fcn.0040d140
add dword [0x413b44], 2
push dword [0x4134e0]
mov edx, dword [0x411ee4]
add dword [esp + 4], edx
call fcn.004051b0
pop dword [0x413b44]
call fcn.00404ade
push 0
push dword [0x4134d4]
call fcn.00407a69
call fcn.00407ba6
mov dword [0x4134cc], eax
push dword [0x4134cc]
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x402125
call fcn.0040d9ba
push eax
mov ebx, dword [0x4134ac]
cmp ebx, dword [esp]
jne 0x401b7f
push dword [0x4134ac]
call fcn.0040551d
push eax
mov ebx, 1
cmp ebx, dword [esp]
jne 0x401b52
push 0
push dword [0x4134dc]
call fcn.004054f2
push 0
push dword [0x4134e0]
call fcn.004054f2
jmp 0x401b79
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x401b79
push 1
push dword [0x4134dc]
call fcn.004054f2
push 1
push dword [0x4134e0]
call fcn.004054f2
pop eax
jmp 0x402124
mov ebx, dword [0x413460]
cmp ebx, dword [esp]
jne 0x401ba6
mov eax, 0x411028
push eax
mov eax, 0x411028
push eax
mov eax, str.TombATIConfigure.exe
push eax
call fcn.00403f28
jmp 0x402124
mov ebx, dword [0x4134c0]
cmp ebx, dword [esp]
jne 0x402023
mov eax, str.glrage.ini
push eax
call fcn.00404883
mov eax, str.Context
push eax
call fcn.004048c1
push dword [0x4134d8]
call fcn.0040551d
mov ebx, eax
cmp ebx, 1
jne 0x401bf0
mov eax, str.true
push eax
mov eax, str.vsync
push eax
call fcn.00404af0
jmp 0x401c01
mov eax, str.false
push eax
mov eax, str.vsync
push eax
call fcn.00404af0
push dword [0x413474]
call fcn.0040551d
push eax
mov eax, str.fullscreen_mode
push eax
call fcn.00404b4c
mov eax, str.ATI3DCIF
push eax
call fcn.004048c1
push dword [0x413494]
call fcn.0040551d
mov ebx, eax
cmp ebx, 1
jne 0x401c48
mov eax, str.true
push eax
mov eax, str.wireframe
push eax
call fcn.00404af0
jmp 0x401c59
mov eax, str.false
push eax
mov eax, str.wireframe
push eax
call fcn.00404af0
push dword [0x4134e4]
call fcn.0040551d
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x401c7f
mov eax, 0x411e06
push eax
mov eax, str.filter_anisotropy
push eax
call fcn.00404af0
jmp 0x401cf1
mov ebx, 1
cmp ebx, dword [esp]
jne 0x401c9c
mov eax, 0x411a3e
push eax
mov eax, str.filter_anisotropy
push eax
call fcn.00404af0
jmp 0x401cf1
mov ebx, 2
cmp ebx, dword [esp]
jne 0x401cb9
mov eax, 0x411576
push eax
mov eax, str.filter_anisotropy
push eax
call fcn.00404af0
jmp 0x401cf1
mov ebx, 3
cmp ebx, dword [esp]
jne 0x401cd6
mov eax, 0x411e32
push eax
mov eax, str.filter_anisotropy
push eax
call fcn.00404af0
jmp 0x401cf1
mov ebx, 4
cmp ebx, dword [esp]
jne 0x401cf1
mov eax, 0x41134c
push eax
mov eax, str.filter_anisotropy
push eax
call fcn.00404af0
pop eax
mov eax, str.DirectDraw
push eax
call fcn.004048c1
push dword [0x413480]
call fcn.0040551d
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x401d23
mov eax, str.linear
push eax
mov eax, str.filter_method
push eax
call fcn.00404af0
jmp 0x401d3e
mov ebx, 1
cmp ebx, dword [esp]
jne 0x401d3e
mov eax, str.nearest
push eax
mov eax, str.filter_method
push eax
call fcn.00404af0
pop eax
call fcn.00404ade
mov eax, str.Patches_tombati.ini
push eax
call fcn.00404883
mov eax, str.Patch
push eax
call fcn.004048c1
push dword [0x413b44]
push dword [0x413b44]
push dword [0x413488]
call fcn.0040554a
lea eax, [0x4134ec]
push eax
call fcn.0040edb0
push dword [0x4134ec]
mov edx, str.Auto
pop ecx
call fcn.00403030
jne 0x401e24
mov eax, 0x4110fa
push eax
push dword [0x4134ec]
call fcn.0040d340
mov dword [0x413484], eax
push dword [0x413b44]
push dword [0x413b44]
mov ebx, dword [0x413484]
dec ebx
push ebx
push dword [0x4134ec]
call fcn.0040d360
lea eax, [0x4134c4]
push eax
call fcn.0040edb0
push dword [0x413b44]
push dword [0x413b44]
mov ebx, dword [0x413484]
inc ebx
push ebx
push dword [0x4134ec]
call fcn.0040d460
lea eax, [0x4134d0]
push eax
call fcn.0040edb0
push dword [0x4134c4]
mov eax, str.resolution_width
push eax
call fcn.00404af0
push dword [0x4134d0]
mov eax, str.resolution_height
push eax
call fcn.00404af0
jmp 0x401e46
mov eax, 0x41105a
push eax
mov eax, str.resolution_width
push eax
call fcn.00404af0
mov eax, 0x41105a
push eax
mov eax, str.resolution_height
push eax
call fcn.00404af0
push dword [0x4134ac]
call fcn.0040551d
mov ebx, eax
cmp ebx, 1
jne 0x401e6b
mov eax, str.true
push eax
mov eax, str.draw_distance_override
push eax
call fcn.00404af0
jmp 0x401e7c
mov eax, str.false
push eax
mov eax, str.draw_distance_override
push eax
call fcn.00404af0
push dword [0x413b44]
push dword [0x413b44]
push dword [0x413b44]
push dword [0x4134dc]
call fcn.0040554a
add dword [0x413b44], 2
mov eax, str.draw_distance_fade
push eax
mov edx, dword [0x411ee4]
add dword [esp + 4], edx
call fcn.00404af0
pop dword [0x413b44]
push dword [0x413b44]
push dword [0x413b44]
push dword [0x413b44]
push dword [0x4134e0]
call fcn.0040554a
add dword [0x413b44], 2
mov eax, str.draw_distance_max
push eax
mov edx, dword [0x411ee4]
add dword [esp + 4], edx
call fcn.00404af0
pop dword [0x413b44]
push dword [0x4134bc]
call fcn.0040551d
mov ebx, eax
cmp ebx, 1
jne 0x401f1f
mov eax, str.true
push eax
mov eax, str.lostvalley_ambience
push eax
call fcn.00404af0
jmp 0x401f30
mov eax, str.false
push eax
mov eax, str.lostvalley_ambience
push eax
call fcn.00404af0
push dword [0x413468]
call fcn.0040551d
mov ebx, eax
cmp ebx, 1
jne 0x401f55
mov eax, str.true
push eax
mov eax, str.music_mute_underwater
push eax
call fcn.00404af0
jmp 0x401f66
mov eax, str.false
push eax
mov eax, str.music_mute_underwater
push eax
call fcn.00404af0
push dword [0x4134f0]
call fcn.0040551d
mov ebx, eax
cmp ebx, 1
jne 0x401f8b
mov eax, str.true
push eax
mov eax, str.music_mute_menu
push eax
call fcn.00404af0
jmp 0x401f9c
mov eax, str.false
push eax
mov eax, str.music_mute_menu
push eax
call fcn.00404af0
push dword [0x413470]
call fcn.0040551d
mov ebx, eax
cmp ebx, 1
jne 0x401fc1
mov eax, str.true
push eax
mov eax, str.full_soundtrack
push eax
call fcn.00404af0
jmp 0x401fd2
mov eax, str.false
push eax
mov eax, str.full_soundtrack
push eax
call fcn.00404af0
call fcn.00404ade
mov eax, str.Patches_tombub.ini
push eax
mov eax, str.Patches_tombati.ini
push eax
call fcn.0040d824
mov eax, str.Patches_tombub.ini
push eax
call fcn.00404883
mov eax, str.Patch
push eax
call fcn.004048c1
mov eax, str._Tomb_Raider_Gold_
push eax
mov eax, str.game
push eax
call fcn.00404af0
call fcn.00404ade
mov dword [0x4134cc], 0x333c
jmp 0x402124
mov ebx, dword [0x4134b0]
cmp ebx, dword [esp]
jne 0x402124
push 0
push dword [0x413488]
call fcn.004054ba
push 0
push dword [0x413474]
call fcn.004054ba
push 4
push dword [0x4134e4]
call fcn.004054ba
push 0
push dword [0x413480]
call fcn.004054ba
push 1
push dword [0x4134d8]
call fcn.004054ba
push 0
push dword [0x413494]
call fcn.004054ba
push 0
push dword [0x4134ac]
call fcn.004054ba
mov eax, str.73728
push eax
push dword [0x4134dc]
call fcn.004051b0
mov eax, str.81920
push eax
push dword [0x4134e0]
call fcn.004051b0
push 1
push dword [0x4134dc]
call fcn.004054f2
push 1
push dword [0x4134e0]
call fcn.004054f2
push 0
push dword [0x4134f0]
call fcn.004054ba
push 0
push dword [0x413468]
call fcn.004054ba
push 0
push dword [0x4134bc]
call fcn.004054ba
push 1
push dword [0x413470]
call fcn.004054ba
pop eax
pop eax
mov ebx, dword [0x4134cc]
cmp ebx, 0x333c
jne 0x401aeb
push 0
call 0x402157
call fcn.0040ed20
push dword [0x41344c]
call sub.KERNEL32.dll_HeapDestroy
call sub.KERNEL32.dll_ExitProcess
call fcn.00403469
call fcn.0040358c
call fcn.004035ea
call fcn.0040361b
call fcn.00404474
call fcn.004050b4
call fcn.004078d3
call fcn.00408be7
call fcn.00409005
call fcn.004090b3
call fcn.0040ceb0
call fcn.0040d6b5
call fcn.0040d849
call fcn.0040d882
call fcn.0040e4f5
call fcn.00403884
call fcn.0040e470
ret