Function at 0x50d8b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d03ff
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x6317e8]
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
mov esi, ecx
mov eax, dword [0x635d9c]
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp - 0x814], ebx
cmp dword [eax + 0x428], 0
jne 0x50d90b
call edi
mov ecx, dword [0x635d9c]
mov dword [ecx + 0x428], eax
call edi
mov ecx, dword [0x635d9c]
mov dword [ecx + 0x42c], eax
mov ecx, dword [0x635d9c]
mov eax, dword [ecx + 0x42c]
cmp dword [ecx + 0x428], eax
jbe 0x50d939
mov dword [ecx + 0x428], eax
mov ecx, dword [0x635d9c]
mov eax, dword [ecx + 0x42c]
mov dword [ecx + 0x428], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x634408]
add eax, 0xa
mov dword [ebp - 0x818], eax
call fcn.0045fc50
mov ecx, dword [0x634408]
call fcn.0045fc40
mov ecx, dword [0x634408]
mov edi, 0x32
cmp dword [ebp + 0x10], edi
cmovge edi, dword [ebp + 0x10]
call fcn.0045fc50
sub eax, 0x64
cmp edi, eax
jle 0x50d993
mov ecx, dword [0x634408]
call fcn.0045fc50
lea edi, [eax - 0x64]
cmp byte [esi + 0x2444], 0
je 0x50d9b2
call fcn.0056e528
cdq
mov ecx, 0x96
idiv ecx
mov eax, 0xffffff6a
sub eax, edx
add edi, eax
push dword [ebp - 0x818]
mov ecx, esi
push edi
call fcn.0050a360
mov eax, dword [0x616af8]
mov ecx, esi
push 1
mov dword [ebp - 0x838], eax
mov dword [0x616af8], 0xff
call fcn.00508ff0
push 0x170
call fcn.0055ee4a
add esp, 4
mov edi, eax
test ebx, ebx
jns 0x50de39
mov dword [ebp - 0x814], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x50da34
mov ecx, dword [0x634408]
push 0
push str.WINDOW
call fcn.0045fc40
mov ecx, dword [0x634408]
push eax
call fcn.0045fc50
push eax
push 0
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.0046cb20
jmp 0x50da36
xor eax, eax
mov dword [esi + 0x2bc], eax
mov ecx, esi
mov byte [eax + 0x168], 0
mov eax, dword [esi + 0x2bc]
mov dword [ebp - 4], 0xffffffff
mov byte [eax + 0x139], 1
call fcn.00505520
mov ecx, dword [0x635d9c]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x50de10
mov edi, dword [ecx + 8]
cmp edx, edi
je 0x50dded
cmp dword [edx + 0x178], 0xffffffff
je 0x50dabf
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 2
push str.Secure_Trade
mov ecx, esi
call fcn.00505340
mov eax, dword [0x635d9c]
cmp dword [eax + 0x20c], 0xffffffff
je 0x50de26
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x13
push str.Attack
jmp 0x50de1f
mov eax, dword [edx + 0x160]
cmp eax, 0xd
jne 0x50db16
mov ecx, dword [0x635d9c]
cmp dword [ecx + 0x754], 0xa
jge 0x50de26
cmp dword [ecx + 0x758], 0xa
jge 0x50de26
lea ecx, [edi + 0x1d0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50daf3
sub ecx, edx
je 0x50de26
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x21
push str.Go_to_Tree
jmp 0x50de1f
cmp eax, 1
jne 0x50dbb8
mov eax, dword [0x635d9c]
mov ecx, dword [edx + 0x17c]
cmp ecx, dword [eax + 0x20c]
je 0x50db43
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x13
push str.Attack
jmp 0x50db5b
cmp dword [0x634ba0], 0
je 0x50db62
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x37
push str.Recall
mov ecx, esi
call fcn.00505340
cmp dword [0x634b9c], 0
je 0x50db97
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x29
push str.Control
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x2a
push str.Release
mov ecx, esi
call fcn.00505340
cmp dword [0x634ba0], 0
je 0x50de26
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x38
push str.Begin_Taming
jmp 0x50de1f
cmp eax, 8
jne 0x50dc33
cmp byte [edx + 0x18e], 0
jne 0x50de26
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x24
push str.Open
mov ecx, esi
call fcn.00505340
mov ecx, dword [0x635d9c]
cmp dword [ecx + 0x754], 0xa
jge 0x50de26
cmp dword [ecx + 0x758], 0xa
jge 0x50de26
mov ecx, dword [ecx + 8]
add ecx, 0x1d0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50dc10
sub ecx, edx
je 0x50de26
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x35
push str.Use_Stash
jmp 0x50de1f
cmp eax, 3
jne 0x50dc4c
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 1
push str.Learn
jmp 0x50de1f
cmp eax, 5
je 0x50ddc6
cmp eax, 0x10
je 0x50ddc6
cmp eax, 4
jne 0x50dcf6
push 2
push 0x84
push 0xffffffffffffffba
push dword [esi + 0x158]
mov ecx, esi
push 0x25
push str.Listen
call fcn.00505340
push 2
push 0x84
push 0xffffffffffffffba
push dword [esi + 0x158]
mov ecx, esi
push 0x23
push str.Heal__180g_
call fcn.00505340
push 2
push 0x84
push 0xffffffffffffffba
push dword [esi + 0x158]
mov ecx, esi
push 0x21
push str.Teleport_Forward__400g_
call fcn.00505340
push 2
push 0x84
push 0xffffffffffffffba
push dword [esi + 0x158]
mov ecx, esi
push 0x22
push str.Teleport_Back__400g_
call fcn.00505340
push 2
push 0x84
push 0xffffffffffffffba
push dword [esi + 0x158]
push 0x35
push str.Use_Account_Storage
jmp 0x50de1f
cmp eax, 0xc
je 0x50de26
cmp eax, 0x16
je 0x50dd9f
cmp eax, 0x15
je 0x50dd9f
cmp eax, 7
je 0x50de26
cmp eax, 0xe
je 0x50de26
cmp eax, 0x11
je 0x50de26
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 1
push str.Trade
mov ecx, esi
call fcn.00505340
mov ecx, esi
call fcn.00505450
push 2
push 0x67
push 0xffffffffffffffce
push 0
push 0x2b
push str.Sell_All_Simple_Loot
mov ecx, esi
call fcn.00505340
push 2
push 0x67
push 0xffffffffffffffce
push 0
push 0x2c
push str.Salt_All_Meat
mov ecx, esi
call fcn.00505340
push 2
push 0x67
push 0xffffffffffffffce
push 0
push 0x2d
push str.Sell_All_Bombs
mov ecx, esi
call fcn.00505340
push 2
push 0x67
push 0xffffffffffffffce
push 0
push 0x2e
push str.Sell_All_EarthKeys
jmp 0x50de1f
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x25
push str.Help
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 1
push str.Browse
jmp 0x50de1f
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x25
push str.Listen
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x26
push str.Ask_For_Quest
jmp 0x50de1f
cmp dword [0x634ba0], 0
je 0x50de26
cmp dword [0x634ba4], 0
je 0x50de26
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x36
push str.Send_Out
jmp 0x50de1f
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 1
push str.Check_Ground
mov ecx, esi
call fcn.00505340
mov eax, dword [0x635d9c]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x23f4], eax
jmp case.0x50df80.5
mov dword [ebp - 0x81c], edi
mov dword [ebp - 4], 1
test edi, edi
je 0x50de78
mov ecx, dword [0x634408]
push 0
push str.WINDOW
call fcn.0045fc40
mov ecx, dword [0x634408]
push eax
call fcn.0045fc50
push eax
push 0
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.0046cb20
jmp 0x50de7a
xor eax, eax
mov dword [esi + 0x2bc], eax
mov ecx, esi
mov byte [eax + 0x168], 0
mov eax, dword [esi + 0x2bc]
mov dword [ebp - 4], 0xffffffff
mov byte [eax + 0x139], 1
call fcn.00505520
cmp dword [ebp + 0xc], 0
je 0x50e5f7
mov ecx, dword [esi + 0x2c0]
lea eax, [ebx + 0x22]
push eax
add ecx, 0x140
call fcn.0044e420
mov eax, dword [esi + 0x23bc]
mov dword [esi + 0x23ac], ebx
cmp eax, 0xc8
jne 0x50df87
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x14
push str.Include
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x16
push str.Include_5
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x17
push str.Include_20
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x18
push str.Include_
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x19
push str.Include_All
mov ecx, esi
call fcn.00505340
mov ecx, esi
call fcn.00505450
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x10
push 0x5e695c
mov ecx, esi
call fcn.00505340
imul edi, ebx, 0x5c
add edi, 0x348
add edi, esi
mov eax, dword [edi]
cmp eax, 0x15
ja case.0x50df80.5
movzx eax, byte [eax + 0x50e78c]
jmp dword [eax*4 + 0x50e780]
cmp eax, 0xc9
jne 0x50e008
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x1a
push str.Exclude
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x1c
push str.Exclude_5
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x1d
push str.Exclude_20
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x1e
push str.Exclude_
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x1f
push str.Exclude_All
mov ecx, esi
call fcn.00505340
mov ecx, esi
call fcn.00505270
jmp 0x50e762
cmp eax, 0xca
jne 0x50e031
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x20
push str.Combine
mov ecx, esi
call fcn.00505340
mov ecx, esi
call fcn.00505270
jmp 0x50e762
cmp eax, 0xcb
jne 0x50df63
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x12
push str.Stop_Using
mov ecx, esi
call fcn.00505340
mov ecx, esi
call fcn.00505270
jmp 0x50e762
mov ecx, dword [esi + 0x2b8]
push 0x3e
add ecx, 0x140
call fcn.0044e420
test eax, eax
je 0x50e0e8
mov ecx, esi
call fcn.00505450
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 3
push str.Trade
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 4
push str.Trade_5
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 5
push str.Trade_20
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 6
push str.Trade_
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 7
push str.Trade_All
jmp 0x50e1f7
mov ecx, dword [esi + 0x2b8]
push 0x2e
add ecx, 0x140
call fcn.0044e420
test eax, eax
je 0x50e172
mov ecx, esi
call fcn.00505450
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 3
push str.Sell
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 4
push str.Sell_5
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 5
push str.Sell_20
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 6
push str.Sell_
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 7
push str.Sell_All
jmp 0x50e1f7
mov ecx, dword [esi + 0x2b8]
push 0x3c
add ecx, 0x140
call fcn.0044e420
test eax, eax
je 0x50e1fe
mov ecx, esi
call fcn.00505450
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 3
push str.Stash
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 4
push str.Stash_5
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 5
push str.Stash_20
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 6
push str.Stash_
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 7
push str.Stash_All
mov ecx, esi
call fcn.00505340
cmp dword [edi], 0xa
jne 0x50e2af
mov eax, dword [0x635d9c]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x338], 0
jne 0x50e221
cmp dword [ecx + 0x408], 0
je 0x50e22d
mov ecx, esi
call fcn.00505450
mov eax, dword [0x635d9c]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x338], 0
je 0x50e271
lea eax, [ecx + 0x340]
push eax
lea eax, [ebp - 0x410]
push str._Feed__s
push eax
call fcn.0043d380
add esp, 0xc
lea eax, [ebp - 0x410]
mov ecx, esi
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x27
push eax
call fcn.00505340
mov eax, dword [0x635d9c]
mov eax, dword [eax + 8]
cmp dword [eax + 0x408], 0
je 0x50e2af
add eax, 0x410
push eax
lea eax, [ebp - 0x410]
push str._Feed__s
push eax
call fcn.0043d380
add esp, 0xc
lea eax, [ebp - 0x410]
mov ecx, esi
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x28
push eax
call fcn.00505340
cmp dword [edi], 0xd
jne 0x50e2e7
mov ecx, esi
call fcn.00505450
lea eax, [ebp - 0x410]
push 0x5e6a3c
push eax
call fcn.0043d380
add esp, 8
lea eax, [ebp - 0x410]
mov ecx, esi
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0x34
push eax
call fcn.00505340
cmp dword [edi], 3
jne 0x50e31f
mov ecx, esi
call fcn.00505450
lea eax, [ebp - 0x410]
push str.Activate
push eax
call fcn.0043d380
add esp, 8
lea eax, [ebp - 0x410]
mov ecx, esi
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0xf
push eax
call fcn.00505340
cmp dword [edi], 0x15
jne 0x50e357
mov ecx, esi
call fcn.00505450
lea eax, [ebp - 0x410]
push str.Let_Out
push eax
call fcn.0043d380
add esp, 8
lea eax, [ebp - 0x410]
mov ecx, esi
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0xf
push eax
call fcn.00505340
cmp dword [edi], 0x11
jne 0x50e38f
mov ecx, esi
call fcn.00505450
lea eax, [ebp - 0x410]
push str.Activate
push eax
call fcn.0043d380
add esp, 8
lea eax, [ebp - 0x410]
mov ecx, esi
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0xf
push eax
call fcn.00505340
cmp dword [edi], 0x14
jne 0x50e3c7
mov ecx, esi
call fcn.00505450
lea eax, [ebp - 0x410]
push str.Activate
push eax
call fcn.0043d380
add esp, 8
lea eax, [ebp - 0x410]
mov ecx, esi
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0xf
push eax
call fcn.00505340
cmp dword [edi], 0x12
jne 0x50e3ff
mov ecx, esi
call fcn.00505450
lea eax, [ebp - 0x410]
push str.Activate
push eax
call fcn.0043d380
add esp, 8
lea eax, [ebp - 0x410]
mov ecx, esi
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0xf
push eax
call fcn.00505340
cmp dword [edi], 0x13
jne case.0x50df80.5
mov ecx, esi
call fcn.00505450
lea eax, [ebp - 0x810]
push str.Activate
push eax
call fcn.0043d380
add esp, 8
lea eax, [ebp - 0x810]
mov ecx, esi
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 0xf
push eax
call fcn.00505340
jmp case.0x50df80.5
mov ecx, dword [esi + 0x2b8]
push 0x3e
add ecx, 0x140
call fcn.0044e420
test eax, eax
je 0x50e4d1
mov ecx, esi
call fcn.00505450
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 3
push str.Trade
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 4
push str.Trade_5
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 5
push str.Trade_20
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 6
push str.Trade_
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 7
push str.Trade_All
mov ecx, esi
call fcn.00505340
jmp case.0x50df80.5
mov ecx, dword [esi + 0x2b8]
push 0x2e
add ecx, 0x140
call fcn.0044e420
test eax, eax
je 0x50e562
mov ecx, esi
call fcn.00505450
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 3
push str.Sell
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 4
push str.Sell_5
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 5
push str.Sell_20
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 6
push str.Sell_
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 7
push str.Sell_All
mov ecx, esi
call fcn.00505340
jmp case.0x50df80.5
mov ecx, dword [esi + 0x2b8]
push 0x3c
add ecx, 0x140
call fcn.0044e420
test eax, eax
je case.0x50df80.5
mov ecx, esi
call fcn.00505450
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 3
push str.Stash
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 4
push str.Stash_5
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 5
push str.Stash_20
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 6
push str.Stash_
mov ecx, esi
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push 7
push str.Stash_All
mov ecx, esi
call fcn.00505340
jmp case.0x50df80.5
cmp dword [ebp + 0x18], 0x42
lea edx, [ebx + 0x42]
je 0x50e603
lea edx, [ebx + 0x32]
mov edi, 8
mov eax, 0x2f
cmovne eax, edi
mov ebx, str.Get_
mov dword [ebp - 0x818], eax
mov edi, str.Retract
mov eax, 0x5e6a8c
cmove eax, edi
mov edi, 9
mov dword [ebp - 0x820], eax
mov eax, 0x30
cmovne eax, edi
mov edi, str.Retract_5
mov dword [ebp - 0x824], eax
mov eax, str.Get_5
cmove eax, edi
mov edi, 0xa
mov dword [ebp - 0x828], eax
mov eax, 0x31
cmovne eax, edi
mov edi, str.Retract_20
mov dword [ebp - 0x82c], eax
mov eax, str.Get_20
cmove eax, edi
mov edi, 0xb
mov dword [ebp - 0x830], eax
mov eax, 0x32
cmovne eax, edi
mov edi, 0xc
mov dword [ebp - 0x834], eax
mov eax, str.Retract_
cmove ebx, eax
mov eax, 0x33
cmovne eax, edi
mov edi, str.Get_All
mov dword [ebp - 0x81c], eax
mov eax, str.Retract_All
mov ecx, dword [esi + 0x2d0]
cmove edi, eax
push edx
add ecx, 0x140
call fcn.0044e420
push 1
push 0x67
push 0xffffffffffffffce
push 0
push dword [ebp - 0x818]
mov ecx, esi
push dword [ebp - 0x820]
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push dword [ebp - 0x824]
mov ecx, esi
push dword [ebp - 0x828]
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push dword [ebp - 0x82c]
mov ecx, esi
push dword [ebp - 0x830]
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push dword [ebp - 0x834]
mov ecx, esi
push ebx
call fcn.00505340
push 1
push 0x67
push 0xffffffffffffffce
push 0
push dword [ebp - 0x81c]
mov ecx, esi
push edi
call fcn.00505340
mov eax, dword [ebp - 0x814]
mov dword [esi + 0x23ac], eax
mov ecx, esi
call fcn.00505270
mov eax, dword [ebp - 0x838]
mov dword [0x616af8], eax
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.0055ee88
mov esp, ebp
pop ebp
ret 0x14